![](/img/trans.png)
[英]Svn migration to Git - Getting a status in Git on all changed files since a branch was created where the overall path has changed
[英]git - find files changed in branch, since created
我想获得一个在分支中更改的文件列表,因为分支已创建。
例:
创建分支B1
在file_1中提交更改
在file_2中提交更改
结果应为:file_1 file_2
怎么做?
我对Master和B1之间的区别不感兴趣。
我对B1的当前状态和B1的主要状态之间的区别感兴趣。
谢谢你的回复
首先,使用找到分歧点
git merge-base master b1
然后用
git diff --stat <commit-id>..b1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.