Thimma
Thimma

Reputation: 1492

Why do I have two source controls in VsCode git?

I'm noticing something weird whilst working on a project:

I removed the git folder for a clean start like this: rm -rf .git

Then I added the remote: git remote add origin <url>

And now VSCode shows me this:

Source control image

Why do I have the top source control (p2000-raspberry) even though I made a new git project, how do I remove this? Please help me out here, I only want the p2000-receiver

Upvotes: 8

Views: 4935

Answers (2)

AlainIb
AlainIb

Reputation: 4728

i get the same bug with 2 icons, first is always empty even with change pending to be commited. I can do right click to remove it but i don't get why i get two icons

enter image description here

Upvotes: 6

Thimma
Thimma

Reputation: 1492

I found out how to remove it, just right click on the title of the repository and press "close"

Upvotes: 24

Related Questions