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 archive --format=zip --prefix=<projectname>/ HEAD `git diff --name-only <oldcommit> <newcommit>` -o archive.zip | |
# | |
# <projectname> = 解凍したときにルートになるフォルダの名称を入力(名前は何でもOK) | |
# | |
# <oldcommit>, <newcommit> = コミット名(Towerの場合、Hash或いは、SHAと書かれたところに書かれている) | |
# ex. adf6ga242935e5c2df4b9401e1dfa2fd110ef0 みたいなやつ | |
# | |
# archive.zip の部分はファイル名(名前は何でもOK) | |
# |