mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
5 lines
294 B
Text
5 lines
294 B
Text
A commit can have multiple parents! You can specify the -p option multiple times, like this:
|
|
|
|
git commit-tree <tree> -m "Description" -p <parent1> -p <parent2>
|
|
|
|
Build a rhombus shape from commits, where two commits point to the same parent, and then a fourth commit points to both of them.
|