答:使用git log master..diff_master 这样就可以列出在diff_master分支中包含的commit而在master分支中不包含的commit 转载于:https://www.cnblogs.com/dakewei/p/10451672.html