2 ms·
I cannot find any reference for "`git` records one side's branch name for merge commits". From what I understand a merge commit just has two parent references (
by chthonicdaemon 3y ago
I cannot find any reference for "`git` records one side's branch name for merge commits". From what I understand a merge commit just has two parent references (commit hashes) instead of one.
- o11c 3y agoIt sets the commit message to: Merge branch 'feature' (several variations exist) and when people add a real commit message, they generally preserve that much at least. With certain reasonable git workflows this technically does preserve sufficient metadata, but there are far too many edge cases for completeness.