Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zaqmor/438103f5462c45c5252897739e58a43e to your computer and use it in GitHub Desktop.
Save zaqmor/438103f5462c45c5252897739e58a43e to your computer and use it in GitHub Desktop.
Git: Generate squashed patch to file for diffing
git reset ***SHA***
git diff > c:\full\path\to\patch-file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment