git2r
git2r copied to clipboard
Changes in the first commit
Hello!
I'm struggling a bit. How can I get the changes implemented in the first commit of a repo?
By my understanding, the expected way to get the changes associated to a commit is to use diff(tree(commit), tree(parent_commit))
, but there's no parent_commit to compare to in this case.
How should I proceed in this case?