Skip to content

Instantly share code, notes, and snippets.

@taiar
Created January 27, 2009 21:09
Show Gist options
  • Save taiar/53548 to your computer and use it in GitHub Desktop.
Save taiar/53548 to your computer and use it in GitHub Desktop.
- Clona branch específico do repositório
$ git checkout -b experimental origin/experimental
- Apaga branch do repositório
git push <repository> :<branch>
removes a branch from a remote repository.
Example: git push origin :old_branch_to_be_deleted
- Ignora todas as alterações feitas em um branch:
git checkout -f
- Apaga branch local
git branch -d meufix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment