Created
November 7, 2012 21:05
-
-
Save julioprotzek/4034461 to your computer and use it in GitHub Desktop.
git resumão
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 nomebranch novo # criar branch | |
git branch # listar branchs | |
git checkout nomebranch # ir para um branch | |
# jogar mudanças para o master | |
git checkout master | |
git merge nome_do_outro_branch | |
# desfazer mudanças antes do git add -A | |
git checkout . | |
# http://gitcasts.com/ | |
# ~/Projects/fakebook(master ✔) git clone git@github.com:julioprotzek/biscoito-globo.git | |
# ~/Projects/fakebook(master ✔) git remote add heroku git@heroku.com:fakebook-julio.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment