Reputation: 156
Please correct me if I am wrong:
The number of parents of a commit can be:
The number of parents cannot be more than 2.
The number of children can be any non-negative number.
Upvotes: 2
Views: 497
Reputation: 60255
The number of parents can be any non-negative number, see the octopus strat, and a 0-parent commit can be added at any time, though there's legitimate debate over that usage such debates tend to be settled in favor of usefulness.
octopus
Upvotes: 3