daim 5 Posted September 10, 2014 Hi there, I there any proper way so i can make my own diff or patch file using git? could u guys give an example how to do it. I already browse the internet unfortunetly if my GIT FOLDER updated then i cant make diff files (the one i commit/modify) Thanks. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted September 10, 2014 If you use TortoiseGit, you can diff with the previous version or even virtually any version on the master branch by using the revision log (use right click for it). Quote Share this post Link to post Share on other sites
0 daim 5 Posted September 10, 2014 im using debian sir Quote Share this post Link to post Share on other sites
0 hemagx 69 Posted September 11, 2014 you can simply use this command git diff > filename.patch Quote Share this post Link to post Share on other sites
0 daim 5 Posted September 11, 2014 the problem is: 1. I install all my mods on Hercules version 1xx (the version just example) 2. I updated Hercules to version 2xx which it require to me to commit my change ang merge with hercules. 3. I tried apply git difff > filename.patch (it not found my mod as i treat it as no diff coz i merge on version 2xx any idea to help me? Thanks Quote Share this post Link to post Share on other sites
0 daim 5 Posted September 11, 2014 After doing some google i think i found the solutions. This is the rite command. git diff origin > patch.patch 1 Angelmelody reacted to this Quote Share this post Link to post Share on other sites
Hi there,
I there any proper way so i can make my own diff or patch file using git? could u guys give an example how to do it. I already browse the internet unfortunetly if my GIT FOLDER updated then i cant make diff files (the one i commit/modify)
Thanks.
Share this post
Link to post
Share on other sites