Skip to content

Instantly share code, notes, and snippets.

@julioprotzek
Created November 7, 2012 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julioprotzek/4034461 to your computer and use it in GitHub Desktop.
Save julioprotzek/4034461 to your computer and use it in GitHub Desktop.
git resumão
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