git diff只显示被修改的文件(不包含删除或增加)

git diff --diff-filter=M

原文地址:https://www.cnblogs.com/xiangnan/p/10791178.html