Created
October 31, 2018 21:00
-
-
Save andersonmadeira/0d083f5162e82932db8f2ce0c053f6eb to your computer and use it in GitHub Desktop.
Gerar um zip com arquivos modificados desde commit
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
# Gera um zip, preservando hierarquia, de todos os arquivos modificados desde o commit do hash informado até o HEAD | |
git diff --name-only f631445f61cc117bad4852e8f9633888f406644d HEAD | tar -czf mudancas.tgz -T - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment