Git: How to generate a diff file in git
Tools like reviewboard, allow you the generate code reviews, although they have a rbt tool to generate the code review with diff, sometimes there is a need to generate this diff file manually and upload it,
Below command
will generate the diff file which you can use for the same
Below command
$ git show --full-index > ~/mytest.diff
will generate the diff file which you can use for the same
Comments
Post a Comment