Skip to content

Instantly share code, notes, and snippets.

@tranthamp
Created April 23, 2013 15:09
Show Gist options
  • Save tranthamp/5444378 to your computer and use it in GitHub Desktop.
Save tranthamp/5444378 to your computer and use it in GitHub Desktop.
Handy git-fu
# Create a patchset for a specific file or files, assuming the file doesn't exist in your local repo
git format-patch --output-directory myPatch commit-id-begin..commit-id-end -- file1 file2 file3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment