barrettj12 / jit

The superior way to use Git.
0 stars 0 forks source link

squash can sometimes fail #57

Closed barrettj12 closed 1 week ago

barrettj12 commented 1 month ago
$ jit squash
squashing against "main" commit de7a205f5a...
error: could not apply 3d3e44e93c... refactor(apiserver): wire provider factory through apiserver
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Could not apply 3d3e44e93c... refactor(apiserver): wire provider factory through apiserver

exit status 1

We shouldn't have to worry about this. Better if we just reset to the merge base and commit all changes as a single commit.

barrettj12 commented 1 month ago

The better way is

barrettj12 commented 1 month ago

These links may describe the conditions under which this can occur: