Last active
August 29, 2015 14:07
-
-
Save yurytello/0be7c575c55a39334f93 to your computer and use it in GitHub Desktop.
Git merge and conflict resolution and vimdiff2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comandos GIT | |
============ | |
git fetch upstream | |
# En caso exista un nuevo branch | |
git checkout -b 8.0 upstream/8.0 | |
# Realizamos el merge sin estrategia | |
git merge upstream/8.0 | |
# Resolvemos los conflictos | |
git mergetool --tool=vimdiff2 --no-prompt <file> | |
# Realizamos el merge con estrategia (por default prevalece ours o theirs) | |
git merge -X [theirs|ours] upstream/8.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment