oh-my-git/levels/commit-parents/description
2020-09-16 16:16:11 +02:00

8 lines
249 B
Plaintext

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?