Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rzzzt
· 4y ago · 0 comments
Are octopus merges modeled as successive commits with two parents each?
Comments
[–]
cryptonector
4y ago
Ok, zero, one, two, or any number of parents. That's even easier.
[–]
snvsn
4y ago
One commit with as many parents as merged branches. (A git commit can have an arbitrary number of parent commits.)
Try git cat-file -p $SHA