it seems like `gt mod --interactive-rebase` can so...
# report-bugs
t
it seems like
gt mod --interactive-rebase
can sometimes create a weird situation where you can no longer use
gt continue
and must instead use
git rebase --continue
... not sure on exact repro/conditions yet, suspect it has to do with using the
e
(
edit
) action in the rebase
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
hey Tyler, if you're able to repro that please do run
gt feedback --with-debug-context <message>
to send us your CLI logs and we can refer to the team to investigate šŸ‘
šŸ‘ 1
t
Will do! I'm doing lots of these today, should be able to hit another
Copy code
āžœ gt feedback --with-debug-context "did an 'edit' within the interactive rebase screen (gt mod --interactive-rebase)"
Uploading log files: [========================================] 100% | Upload complete
Feedback received loud and clear :blush:
just hit ya with this.
can confirm this repros reliably and then get something like this
Copy code
āžœ gt mod --interactive-rebase
Stopped at 3d12344d3...  my commit message
You can amend the commit now, with

  git commit --amend

Once you are satisfied with your changes, run

  git rebase --continue
ERROR: Command failed with error exit code 128:
git switch -q branch-name

fatal: cannot switch branch while rebasing
Consider "git rebase --quit" or "git worktree add".
no major harm • no longer in
gt
"context" - eg
gt ls
won't work • it stops upstack from automatically restacking after you finish the rebase easily mitigated by
gt rebase --upstack
after the rebase finishes
p
received, thanks!
🫔 1
By the way, I notice from the logs your CLI is a couple versions behind. I recommend updating the CLI to the most recent stable version for fixes and improvements. You can also enable auto-update within
gt config
t
good call, thanks - just grabbed
+ @withgraphite/graphite-cli 1.7.8
addendum: still present in the latest version šŸ™‚