Skip to content

Instantly share code, notes, and snippets.

@unsafe9
Created January 19, 2024 08:49
Show Gist options
  • Save unsafe9/f5b586811968f163db136b102157b988 to your computer and use it in GitHub Desktop.
Save unsafe9/f5b586811968f163db136b102157b988 to your computer and use it in GitHub Desktop.
# export
git diff > changes.patch
# import
git apply --reject --whitespace=fix changes.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment