Saturday, April 18, 2009

Git tips

tig - cool way to look at commits

git send-email 0001-patch1 0002-patch2 etc etc

To get patches from email you can use mutt, fetchmail, etc. You can even use Thunderbird to get patches, by saving it as a .eml file.

git am -u -s -3 -i /path/to/patch.eml

-u = use utf-8
-s = sign the commit
-3 = use three-way merge, Galen says that this just makes it work
-i = use interactive method

No comments:

Post a Comment