oh-my-git/levels/internals/commit-parents/description
2020-10-01 15:03:02 +02:00

7 lines
249 B
Text

When using the commit-tree command, you can optionally specify a parent:
git commit-tree <tree> -m "Description" -p <parent commit>
Make a string of three commits!
Hint: You'll need a tree object. What could be the easiest way to obtain one?