History of subtree merged files

拟墨画扇 提交于 2019-12-06 09:44:22

-p oneMergedFile only shows the changes made to that file. Perhaps it wasn't part of your merge?

you could try gitk oneMergedFile to get a more visual history

one thing you could check is your config file for log.showroot

If false, git log and related commands will not treat the initial commit as a big creation event. Any root commits in git log -p output would be shown without a diff attached. The default is true.

Another possibility is that the merge included no changes the files you specified in -p. You could try --full-diff, which I think will show the file anyway.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!