只列出名字 git diff remotes/origin/dev remotes/origin/master --name-only 转载于:https://www.cnblogs.com/qianxinxu/p/10764339.html