GoConqr has a new look! Let us know what you think.

Notes

Refazer merge

emaildocaco Gestor de Configuração 1 Portuguese 1 page

Content of the notes (1)

Page 1

git checkout 'id' - antes do merge automatico

git checkout -b NOVOBRANCH

git merge origin/BRANCHCOPIAR

git commit --amend (renomear)

git branch -d master

git branch -mv NOVOBRANCH master

git push -f -u origin master (F=Force U=configura branch)

Deletar branch remoto:

git push origin :BRANCH

mata a branch local e foda-se:

git branch -D BRANCH

git branch -m newBranch - rename branch local

Voltar um branch pra um commit especifico

git checkout branch

git rebase -i 'commit antes do que quer deixar'

Vai aparecer uma tela com os commits, clicar 'A' e apagar os commits que quer retirar. Depois :wq e dar um

git push origin BRANCH --force

Information

Description
1 Gestor de Configuração Note on Refazer merge, created by emaildocaco on 20/10/2015.
Created by
emaildocaco · Oct 2015
Updated
Jul 6, 2016
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?