vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Using interactive rebase to amend commits resets the branch to the default branch after a few seconds

Open taisph opened this issue 3 years ago • 1 comments

  • Extension version: v0.42.0
  • VSCode Version: 1.67.1
  • OS: Ubuntu 20.04 LTS

Steps to Reproduce:

  1. Use "start working on issue and checkout topic branch" to change to a feature/topic branch.
  2. Make two (or more) commits.
  3. Use git rebase -i HEAD~2 in 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.

taisph avatar May 11 '22 09:05 taisph

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?

alexr00 avatar Jul 11 '22 11:07 alexr00

Closing due to missing info.

alexr00 avatar Dec 09 '22 14:12 alexr00