Reputation: 3161
I have copy of VS Code that is tracking far too many changes than I have made. It also references a repo that I cloned a file from.
I need to fix this, as I am unable to commit anything via the UI.
Upvotes: 0
Views: 3101
Reputation: 56518
Most likely one of two things has happened.
You opened a folder which is it not itself a git repository, but which contains numerous git repositories.
You opened a git repository which, for whatever reason, has other git repositories nested inside it.
In either case, VS Code will recursively find all of the inner repositories, and check for pending changes in all of them.
Upvotes: 1