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

8 lines
231 B
Text
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: What would be the easiest way to get a tree object?