View Full Version : [Git] How to make a patch without commiting

07-15-2013, 07:48 PM
Greetings, making a patch without commiting is possible here an how to :

1) Make your change :
http://i.imgur.com/aMZwfbH.png (line 1457 to 1469 in my case)

2) Save your change

3) Don't commit, go to your source folder right click on it and Git Bash :

4) Once you have the console do git diff > name_of_the_patch.diff

5) Now you should have this :
http://i.imgur.com/3T6dwKh.png it mean everything is good to go

6) Navigate to the folder (the one you did Git bash, for me it's Source)
and you should see your patch http://i.imgur.com/Sr0Yhio.png

7) If you open it (notepad++ in my case) you'll see your change

8) ???

9) Profit !

07-15-2013, 08:00 PM
Documentation on the git crap is somewhat complicated. Thanks for the quick guide!

08-10-2013, 05:54 AM
Wow seems that i've forgotten this thread for a time, thanks for the tutorial!

08-10-2013, 06:03 AM
Diff and a patch are different things though.

08-10-2013, 06:25 AM
Diff and a patch are different things though.

So are Rochet2 and Rocket2.

OT: Thanks, will be useful to lots of beignners.

08-10-2013, 03:07 PM
Diff and a patch are different things though.

mhm my title is somewhat wrong, i'm gonna edit it

10-07-2013, 01:52 PM
Thanks for share will surely be useful for lot of peoples and me as well.

10-29-2013, 01:52 AM
Thank you kind sir

10-29-2013, 06:08 PM
Nice tut neth ;p