Notizen
Commit GIT
Inhalt der Notizen (1)
Seite 1
git commit -am ''texto
Mandar pro gerrit
git push origin HEAD:refs/for/
Vai direto pro servidor
git push origin
git checkout -- ARQUIVO - Desfaz alterações antes do commit. Ou seja, pega informações do ultimo commit
git reset HEAD ARQUIVO retira arquivo adicionado pelo git add *
git commit --amend - Se existir algum arquivo ainda no git add, ele adiciona junto e abre opção para alterar a msg.
Como renomear commits no Git git pull
git rebase --interactive ID^ Não se esqueça de adicionar ‘^’ ao fim!
‘pick’ para ‘edit’.
git commit --all --amend
git rebase --continue
git push -f
fonte: http://felipemaziero.eti.br/como-renomear-commits-no-git/
git reset -- hard ID - volta para o id que escolheu
git push -f origin BRANCH força atualização remoto
Informationen
- Beschreibung
- 1 Gestor de Configuração Notiz am Commit GIT, erstellt von emaildocaco am 11/09/2015.
- Erstellt von
- emaildocaco
- Aufrufe
- 0
- Bewertung