+ 3

What is a Git patch file

I have been doing some research into this and i have not gotten a clear cut answer. Any relevant documentation and information about this would be helpful thank you.

7th Jan 2019, 4:34 PM
Anthony Perez
3 Answers
+ 11
When you’re working together, you will face a problem where you want to take the only changes you’ve made and make a pull request with those changes. Git support a .patch file which contain the changes you have been made. With the generated .patch file, you can see the changes and the difference with the remote branch. The file can be applied to a certain branch if you want to merge your only change with the remote branch. https://stackoverflow.com/questions/8279602/what-is-a-patch-in-git-version-control/8279647#8279647 https://stackoverflow.com/questions/9339429/what-does-cherry-picking-a-commit-with-git-mean/9339460#9339460
7th Jan 2019, 7:02 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
You are welcome friend! 😊 I hope it will help you!👍
7th Jan 2019, 8:02 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 1
Thank you Danijel Ivanović i will take a look at these and make the determination. Reason i ask is i am doing work at Top Coder and some projects require this.
7th Jan 2019, 7:18 PM
Anthony Perez