Giter Site home page Giter Site logo

sh4's Introduction

Git Summary Sheet for DApp Teens

MAIN TODOs

  • When deploying your changes, first you git pull
  • Fix conflicts, if any, and re-commit
  • Then you git push

Description

Decentralized development, before decentraization was cool! (actually, this is 'distributed', slight difference) Everyone creates their shit remotely in parrallel in their own 'branches', and ruitinely merges it with a 'master repo chain'.

  • see changes since last 'block' ('commit' in this case): git status
  • see the whole 'blockchain' ('history'):
    • git log, or for a better looking one:
    • git alias ... TBA
  • preparing for a new block/commit:
    • git add [command]: Adds changes of file(s) to the proposed new commit
    • git add -u: Adds changed 'tracked'/followed files since last commit
    • git reset [command]: Withdraws file changes
    • git rm [command]: REMOVES file from git history starting at the next commit
  • processing a new block/commit:
    • git commit -m "[commit log message]": Adds a new block in the history with the prepared/staged changes from above. Please, be descriptive!
      • Note: a quick way to commit to the history only the modified files that were present since the last commit is git commit -am "[message]"
  • SENDING your changes to the network so collegues can see it:
    • git push origin master: generally the default first push command. A more generic version is: git push [remote name] [branch]. GitHub and other cloud Git platforms source links are usually are set as the 'origin' remote link.
  • GETTING the latest network changes: git pull

For fancier stuff (git checkout, git branch, etc) try Googling it, or try here.

Didn't get it still?

Try this tutorial.

Buzzword Board

Write all the absord words of the crypto and swe world and their definitions that add unessesary complexity to our short, poor plebs lives...

  • gas: ETH talk for 'fee'
  • tangle: IOTA and Cordano/ADA talk for a DAG
  • more: to come

sh4's People

Contributors

allanglickman avatar marcial1234 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.