Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道您可以执行 git log --stat 和执行 git diff (commit1) (commit2),但是,这给了我所有文件的更改。我只想查看特定文件中的更改。这可能吗?
$ git diff commit1 commit2 file-in-question