Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 241
Thimma Avatar asked Jun 06 '26 06:06

Thimma


1 Answers

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

like image 106
Thimma Avatar answered Jun 07 '26 22:06

Thimma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!