Github/compare: How to diff two different files (different file names, both in HEAD)?

后端 未结 5 1664
灰色年华
灰色年华 2021-02-06 23:50

Can I use the github /compare to display the difference between two different source files in HEAD?

Here is how I do it on the command line with git d

5条回答
  •  没有蜡笔的小新
    2021-02-07 00:16

    Line Diff will display a github like diff between two code snippets, however you won't be able to specify the source files as current HEAD on github - I just think it's an edge case and no one has yet thought of making it a "feature" in one of these online tools.

提交回复
热议问题