Page 1 of 1

Making Patches

Posted: 06 Apr 2010, 12:48
by TomMan71
I am very interested in helping with this project but I have no idea on how to make patches with git. So, if someone could help me with doing this I would be very happy.

Re: Making Patches

Posted: 06 Apr 2010, 15:09
by Crush
Nice to read that you want to help.

I assume that you already have git installed, used it to clone the sourcecode repository and that you know how to use a command prompt on your operating system. When this assumption is wrong please say so and I will explain you the details.

1. git add <filename> to add the files you want to include in your patch to the index
2. git commit -m "Description of your changes" to create a commit with the changes you added
3. git format-patch to create a patch file with your commit

Re: Making Patches

Posted: 06 Apr 2010, 15:24
by TomMan71
Thanks, that really helps! :D