如何在同一分支上的兩個不一樣提交之間區分相同的文件?

問題:

In Git, how could I compare the same file between two different commits (not contiguous) on the same branch (master for example)? 在Git中,我如何比較同一分支(例如master)上兩個不一樣提交(不連續)之間的相同文件? spa

I'm searching for a compare feature like the one in Visual SourceSafe (VSS) or Team Foundation Server (TFS). 我正在搜索Visual SourceSafe (VSS)或Team Foundation Server (TFS)中的比較功能。 Is it possible in Git? Git有可能嗎? .net


解決方案:

參考一: https://stackoom.com/question/E0Ok/如何在同一分支上的兩個不一樣提交之間區分相同的文件
參考二: https://oldbug.net/q/E0Ok/How-do-I-diff-the-same-file-between-two-different-commits-on-the-same-branch
相關文章
相關標籤/搜索