Created
April 15, 2017 12:23
-
-
Save JCash/6ee3e30a2ec6767b3ba186bdeb78772c to your computer and use it in GitHub Desktop.
Create a binary patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creating a binary patch with the diff between folders | |
#$ git diff --no-index --binary a/ b/ > diff.patch | |
#$ diff -Naur a/ b/ > diff.patch | |
git diff --no-index --binary $1 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment