Como deletar um branch em um servidor remoto?
git push origin :branch
Como deletar um branch em um servidor remoto?
git push origin :branch
Quando executo git branch -r, ele lista apenas os branches remotos que eu dei checkout localmente. Como posso obter uma lista dos que não tenho rastreado localmente?
git ls-remote <remote-name>
Por exemplo:
git ls-remote origin
Fonte
http://stackoverflow.com/questions/3471827/how-do-i-list-all-remote-branches-in-git-1-7
Como deletar uma tag em um repositório Git remoto?
Suponha que você possui uma tag chamada ‘checkpoint’, então você deve proceder da seguinte forma:
git tag -d checkpoint
git push origin :refs/tags/checkpoint
Isto irá remover ‘checkpoint’ do seu repositório ‘origin’.
http://nathanhoad.net/how-to-delete-a-remote-git-tag
Para visualizar as diferenças que há entre os branches, execute o seguinte comando:
git log --graph --left-right --cherry-pick --oneline master...experiment
Referência
http://stackoverflow.com/questions/7548926/git-and-the-branch-x-is-not-fully-merged-error