Reputation: 1150
I can't figure out when this started, but suddenly I find my repo tracking all my changes just fine, but...
There's another repo open - like the entire Flutter source - and my source control is tracking thousands of changes.
Is there some easy way to turn this off? I can't seem to find it.
TIA
Upvotes: 25
Views: 2346
Reputation: 2075
The solution is to add the path to the flutter repo to the "git.ignoredRepositories"
list either in the user or workspace settings.
"git.ignoredRepositories": [
"/path/to/flutter"
]
I had to reload/restart the vscode window for it to take effect.
--
An alternative is to change git.AutoRepositoryDetection
from true
to subFolders
. This will keep scanning the current folder and sub folders but avoids tracking flutter.
Upvotes: 33
Reputation: 694
User Settings
git.AutoRepositoryDetection
false
Upvotes: 9