On Dec 3, 2007 8:05 AM, DaNiMoTh <jjdanimoth@xxxxxxxxx> wrote: > You can use git diff. > Simply: > git clone [address] pacman > - Do your modifications - > git diff > patch_to_send. > > There will be problems if remote repo is modified while you do your > modifications; in other words, the patch that you make isn't synced > with the remote repo. It's probably far better to do the following: git clone <url> git checkout -b mychanges #make a branch for yourself, and switch to it ... make your changes... git commit -a -s #commit what you did, and sign off git format-patch master #create a patch against the master branch (the original clone) The reason format-patch is superior here is that it maintains your authorship and change description.