Created
June 1, 2012 19:01
-
-
Save scottweisman/2854400 to your computer and use it in GitHub Desktop.
WarRoom Github Recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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