git 比较两个分支内容差异

使用git diff 比较两个分支

git diff  分支1 分支2 

  

加--stat参数,显示文件列表, 默认是文件内容diff,如上

git diff  分支1 分支2 --stat

  

原文地址:https://www.cnblogs.com/xinhua219/p/12655632.html