DonJayamanne / gitHistoryVSCode

Git History for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accidently deleting a branch

SteveALee opened this issue · comments

The history for a file shows multiple branches but also has coloured buttons that remove the branch. I assumed they just remove form the view - not ACTUALLY DELETE the branch!!! That was a real surprise, especially as the readme page does not list branch deletion as an option!

Now i need to recreate my branch :(

If you have a local and a remote branch:

  • and you have deleted the remote branch: Push it again
  • or you have deleted the local branch: Pull it again

If you only had the branch locally or remotely then yes, you need to recreate it.

commented

Sorry to hear that...
We might provide a confirmation form for it I assume