Created
May 23, 2022 23:56
-
-
Save donpandix/5d21a4a3dbfb5758ce8e8c2fc029cb3e to your computer and use it in GitHub Desktop.
Obtener los archivos modificados entre dos commits
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
# Obtiene la lista de los archivos modificados | |
git diff --name-only SHA1 SHA2 | |
# Obtiene la lista de los archivos modificados entre dos commits y almacendaos en un ZIP | |
git archive --output=file.zip HEAD $(git diff --name-only SHA1 SHA2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment