Changes

Jump to navigation Jump to search

Git patch

92 bytes added, 09:47, 2 August 2013
=== Create patches ===
Now create your patch, comparing to the master branch
git format-patch master --stdout > fix.patch
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.
 
Create one patch file, comparing to the master branch
git format-patch master --stdout > fix.patch
Now, you have a patch for the fix you wrote. [[Bugs_and_development_wishes | Send it to the maintainer of the project.]]

Navigation menu