vscode-pull-request-github
vscode-pull-request-github copied to clipboard
Using interactive rebase to amend commits resets the branch to the default branch after a few seconds
- Extension version: v0.42.0
- VSCode Version: 1.67.1
- OS: Ubuntu 20.04 LTS
Steps to Reproduce:
- Use "start working on issue and checkout topic branch" to change to a feature/topic branch.
- Make two (or more) commits.
- Use
git rebase -i HEAD~2in terminal and choose "edit" for the first commit. Wait a few seconds and the branch is suddenly changed back to the default branch (main in my case).
The key seems to be using the issue topic branch feature first. Using rebase in other branches does not seem to trigger the reset. I had to disable the GitHub extension to get the changes done.
Sorry it's taken me so long to take a look at this!
Wait a few seconds and the branch is suddenly changed back to the default branch (main in my case).
I tried to reproduce the issue with your steps, but I haven't seen this happen, even after waiting for several minutes. How did you check to see/what were you looking at that showed that the branch had been changed?
Closing due to missing info.