Skip to content

Instantly share code, notes, and snippets.

@backroot
Created December 2, 2019 20:36
Show Gist options
  • Save backroot/61a38342557f04c14caf65fbbb03332d to your computer and use it in GitHub Desktop.
Save backroot/61a38342557f04c14caf65fbbb03332d to your computer and use it in GitHub Desktop.
git diff file
git archive master --format=zip -o 出力ファイル名 --prefix=data/ `git diff --name-only --diff-filter=d <commit1> <commit2>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment