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 和 github 很陌生。github 客户端让我可以比较两个顺序提交的代码差异。但是,我正在尝试比较两个非顺序提交的代码更改。
我怎样才能做到这一点?
git diff sha1..sha2
这应该这样做。