Understanding Wine
DLL and Service Development in Wine
»Index
»Setup
»DLLs
»Services
»Windows
»svchost
»Links
»Notes
»Author
»Wine HQ

Branch first. Develop second.

Patches

The command:

git format-patch -o out origin

is a good first bet for generating patches. For more control I find that:

git diff --patch-with-stat --summary origin <path to file> > out.patch

works well also.

Need to undo a set of changes:

git commit -a
git reset --hard HEAD^

Be careful with this. It really does undo all changes in the current repository.