-
-
Save hrstt/1326520 to your computer and use it in GitHub Desktop.
Gitで特定のコミットからの差分ファイルだけ抜き出してZipにする
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 archive --format=zip --prefix=projectname/ HEAD `git diff --name-only <commit>` -o archive.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment