When I do git rebase <base-commit>
, I see the directory .git/rebase-apply
is created containing the files onto
, orig-head
, and original-commit
, referencing <base-commit>
, head
, and the current commit being applied respectively.
When I do git rebase -i <base-commit>
, instead I see the directory .git/rebase-merge
containing the files onto
, orig-head
, and stopped-sha
, where stopped-sha
seems equivilent to original-commit
.
My question is why the discrepancy of file & dir naming between interactive and non-interactive rebase? And is my understanding of the files correct?