Skip to content

Instantly share code, notes, and snippets.

@oshinko
Last active June 28, 2021 06:49
Show Gist options
  • Save oshinko/4ef1a971fe3db0fa76244af8eb2849e4 to your computer and use it in GitHub Desktop.
Save oshinko/4ef1a971fe3db0fa76244af8eb2849e4 to your computer and use it in GitHub Desktop.
Generate and apply patches with Git
git diff > ~/tmp/wip.patch
patch -p1 < ~/tmp/wip.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment