git diff between two different files

前端 未结 3 1933
悲哀的现实
悲哀的现实 2021-01-29 19:11

In HEAD (the latest commit), I have a file named foo. In my current working tree, I renamed it to bar, and also edited it.

I want

3条回答
  •  没有蜡笔的小新
    2021-01-29 19:51

    If you are using tortoise git you can right-click on a file and git a diff by: Right-clicking on the first file and through the tortoisegit submenu select "Diff later" Then on the second file you can also right-click on this, go to the tortoisegit submenu and then select "Diff with yourfilenamehere.txt"

提交回复
热议问题