I\'m new to Git, but familiar with SVN. As a test I made a repository in a local directory with git init. Then I cloned the empty repository (over SSH using 127
Using GitHub patch
Add .patch to a commit URL to get the patch file, example
github.com/git/git/commit/b6b3b6a.patch
Patch the original file like this:
git am /tmp/b6b3b6a.patch
Using GitHub diff
Add .diff to a commit URL to get the patch file, example
github.com/git/git/commit/b6b3b6a.diff
Patch the original file like this:
git apply -p0 /tmp/b6b3b6a.diff
§5.3 Distributed Git - Maintaining a Project