Skip to content

Instantly share code, notes, and snippets.

@zoster
Last active December 11, 2015 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoster/4595896 to your computer and use it in GitHub Desktop.
Save zoster/4595896 to your computer and use it in GitHub Desktop.
Build an update folder with all files changed in a git repo since a specific commit.
cp --parents $(git diff --name-only --diff-filter=ACMRTUXB <SHA>) /c/update_folder/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment