Skip to content

Instantly share code, notes, and snippets.

@proxium
Created March 9, 2016 17:56
Show Gist options
  • Save proxium/e5ea3d84c620a0b28955 to your computer and use it in GitHub Desktop.
Save proxium/e5ea3d84c620a0b28955 to your computer and use it in GitHub Desktop.
export files form a specific commit
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT <commit ID ex:b9e0245> | tar -czf file.tgz -T -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment