I need to get the patch/diff between the development and my feature branch.
How can I get this using git command.
Please consider the branch names be development and test. I need to get the differences from test and development branch.
Edit:
I have followed the steps provided in the below question: Comparing two branches in Git?
The differences are shown in the git terminal only.
How can I save the differences into a patch or diff file?
try
git diff development..test > patch_name.patch
this will create the patch. apply the patch wherever you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With