oh-my-git/levels/commit-parents/description

8 lines
249 B
Plaintext
Raw Normal View History

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