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:显示两次提交之间的所有更改文件
如何获取在 2 个 SHA 之间提交/添加的文件列表(我使用“git log”获取 SHA)?
谢谢你。
git diff --name-only SHA1 SHA2