Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在研究一个 git post-merge 钩子。现在在这个钩子中,我需要合并中的所有提交消息。
有人知道如何解决这个问题吗?
干杯!
这应该有效:
git log $(git merge-base HEAD^1 HEAD^2)..HEAD^2