Changes

Jump to navigation Jump to search

Git patch

152 bytes added, 09:53, 2 August 2013
=== Create patches ===
Now create your patch, comparing to the master branch
git format-patch master > Now tar and gunzip the files tar -cvzf fix.patch.tar.gz 00*.patch rm 00*.patchIf you need to unpack (ungzip, unarchive) a tar.gz file tar -xzf fix.patch.tar.gz
Normally, git would create a separate patch file for each commit, but that’s not what we want. All we need is a single patch file. This will create a new file fix.patch with all changes from the current branch (fix) against master.

Navigation menu