Skip to content

Instantly share code, notes, and snippets.

@scottweisman
Created June 1, 2012 19:01
Show Gist options
  • Save scottweisman/2854400 to your computer and use it in GitHub Desktop.
Save scottweisman/2854400 to your computer and use it in GitHub Desktop.
WarRoom Github Recipe
git checkout -b new_feature
...do some work...
git add .
git commit -am "did some work"
git push origin new_feature
go to github and create pull request for new_feature branch
- team reviews changes on github
- add comments, make changes, click merge pull request when accepted
Start another feature:
git checkout -b another_new_feature
...rinse and repeat...
Other Commands:
git pull --rebase origin master #run this frequently as you work on your branches
script/setup #runs rake:db migrate, seed, etc.
git branch #shows all branches
git push staging wrx:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment