Skip to content

Instantly share code, notes, and snippets.

@julioprotzek
Created November 7, 2012 21:05
Show Gist options
  • 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 [email protected]:julioprotzek/biscoito-globo.git
# ~/Projects/fakebook(master ✔) git remote add heroku [email protected]:fakebook-julio.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment