__TOC__
== Patches ==
See [http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/ this very nice post!]
git checkout -b fix
In the new fix branch you can hack whatever you need to fix. Write tests, update code etc. etc.<br> # To only add updated files to commit stage git add -u # To make a commit git commit -m "my commit message"
When you’re satisfied with all you changes, it’s time to create your patch. We assume you made a few commits in the fix branch and did not yet merge it back in to the master branch.
Check you changes git log git log --pretty=oneline -35
=== Create patches ===
Now create your patch, comparing to the master branch
git format-patch master--ignore-if-in-upstream
Now tar and gunzip the files
tar -cvzf fix.patch.tar.gz 00*.patch
Create one patch file, comparing to the master branch
git format-patch master --stdout --ignore-if-in-upstream > fix.patch
Now, you have a patch for the fix you wrote. [[Bugs_and_development_wishes | Send it to the maintainer of the project.]]