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.
我有两个分支:master 和 bug1。我检查了 bug1,做了很多更改和多次提交。如何获取分支上已更改的所有文件的列表?我对哈希、日期或任何其他与提交相关的细节不感兴趣。我只想得到一个简单的触摸文件列表。
git diff --name-only master bug1
来自你的主人:
git diff --name-status BRANCH
有关详细信息,请参见git diff手册页。
git diff