Made a merge, particularly, a big one and you want to know which where the files that had conflicts?
Then, this command might come handy:
This file contains 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
diff --name-only --diff-filter=U |
You can also make a GIT alias this way:
This file contains 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
git config --global alias.conflicts "diff --name-only --diff-filter=U" |
and then use it like this:
This file contains 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
git conflicts |
No hay comentarios:
Publicar un comentario