Created
June 6, 2017 20:36
-
-
Save petrenkorf/ff87f68aaf79ca49a5539133f62f5b6e to your computer and use it in GitHub Desktop.
Export modified files and folder structure of last git 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
#!/bin/bash | |
git archive -o $(git rev-parse HEAD).zip HEAD $(git diff --name-only HEAD^) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment