git: merge所做修改用git log -p看不到
解决: 增加-m参数可以看到merge的修改
$ git log -p -m app/models/banners.py
手册说明:
-m
This flag makes the merge commits show the full diff like regular commits; for each merge parent, a separate log entry and diff is generated. An exception is that only diff against the first parent is
shown when --first-parent option is given; in that case, the output represents the changes the merge brought into the then-current branch.
浙公网安备 33010602011771号