cheat sheets.

$ cheat flow
# a work flow for hacking in the land of git (one of many) inspired from:
# http://jonrohan.me/guide/git/dead-simple-git-workflow-for-agile-teams/
###
$ git clone (URL to repo)          # get that code
### branching for hacking together a pull request
$ git pull                         # sync up to latest           |
$ git checkout -b HACKING_TOPIC    # branch to start hacking on  | gcb
### keep hacking branch in sync with production
$ git checkout master              # back to master              |
$ git pull origin master           # resync your master          |
$ git checkout HACKING_TOPIC       # back to hacking branch      |
$ git rebase master                # sync your hacking branch    | 
  # -> hack -> hack -> hack on your banch                        | hack.sh
### ship it! this is production! merge to master and push  
$ git checkout master              # back to master              |
$ git merge HACKING_TOPIC          # merge the goodness          | 
$ git push origin master           # shipping to production      | 
$ git checkout HACKING_TOPIC       # back to hacking branch      | ship.sh
### done with feature. delete this branch (ship good stuff first)
$ git checkout master              # back to master              |
$ git branch -d HACKING_TOPIC      # delete branch               | dwf.sh
Version 11, updated 134 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )