The trunk metaphor doesn’t work very well in Git, because branches aren’t long-lived containers of sequential commits the way they are in SVN. There is no “root” commit that is guaranteed to have a consistent relationship with main, because branches are just names attached to a commit and can be reassigned at will.
The trunk metaphor doesn’t work very well in Git, because branches aren’t long-lived containers of sequential commits the way they are in SVN. There is no “root” commit that is guaranteed to have a consistent relationship with main, because branches are just names attached to a commit and can be reassigned at will.