Created
April 15, 2019 15:01
-
-
Save vanyasem/5b02c1303405c21f43bb046836dfc184 to your computer and use it in GitHub Desktop.
Extract changed files in a commit
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
#git diff --name-only $oldsha $newsha | bash script.sh | |
test=" " | |
while read data; do | |
echo $data | |
test+=$data; | |
test+=" "; | |
done | |
C:/Program\ Files/7-Zip/7z.exe a dest.7z $test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment