Skip to content

Instantly share code, notes, and snippets.

@tavlima
Created March 21, 2013 21:46
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 tavlima/5217105 to your computer and use it in GitHub Desktop.
Save tavlima/5217105 to your computer and use it in GitHub Desktop.
# Condensar os ultimos N commits em um so.
# Marque como "squash" os commits que devem ser
# integrados com o item anterior, na lista
git rebase -i HEAD~N
# Remover um branch remoto (a diferenca eh os ":")
# REMOTE eh seu repositorio remoto (origin, por exemplo)
# BRANCH eh o nome do branch que voce quer remover
git push REMOTE :BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment