Neth
BETA Tester
[Git] How to make a dif without commiting
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 :
http://i.imgur.com/L78UpvS.png
4) Once you have the console do git diff > name_of_the_patch.diff
http://i.imgur.com/kQQGS9J.png
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
http://i.imgur.com/3peDqYq.png
8) ???
9) Profit !
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 :
http://i.imgur.com/L78UpvS.png
4) Once you have the console do git diff > name_of_the_patch.diff
http://i.imgur.com/kQQGS9J.png
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
http://i.imgur.com/3peDqYq.png
8) ???
9) Profit !
Last edited: