Created
July 4, 2012 12:47
-
-
Save r-martins/3047159 to your computer and use it in GitHub Desktop.
Adicionando arquivos de um commit específico para um .tar
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 diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id | xargs tar -rf mytarfile.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment