显示两个分支之间
显示当前分支与父分支的差异文件。
git checkout branch1
git diff --name-status parent_branch1
显示两个提交之间
git diff --name-status commitID1 commitID2
如果不需要显示是M还是A,用这个命令
git diff --name-only parent_branch1
git diff --name-only commitID1 commitID2
显示两个分支之间
显示当前分支与父分支的差异文件。
git checkout branch1
git diff --name-status parent_branch1
显示两个提交之间
git diff --name-status commitID1 commitID2
如果不需要显示是M还是A,用这个命令
git diff --name-only parent_branch1
git diff --name-only commitID1 commitID2