Skip to content

Instantly share code, notes, and snippets.

@bspindler
Created March 28, 2014 00:36
Show Gist options
  • Save bspindler/0401b575ff66ca2cebb7 to your computer and use it in GitHub Desktop.
Save bspindler/0401b575ff66ca2cebb7 to your computer and use it in GitHub Desktop.
patch procedure
Applying the patch:
# show stats.
git apply --stat file.patch
# check for error before applying.
git apply --check file.patch
# apply the patch finally.
git am < file.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment