git diff 检测文件变化

git diff 只检测已被add的文件的变化

只显示变化的文件名

git  diff --name-only

比较两个commit的不同

git diff <commit_id1> <commit_id2> --name-only
文章目录