VSCode Flutter - stop tracking Flutter repo changes
326
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.
Author by
Bill Noel
Updated on December 18, 2022Comments
-
Bill Noel over 1 year
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
-
Kohls over 2 yearsWorks flawlessly, unfortunately needs a restart in vscode
-
David almost 2 years"git.autoRepositoryDetection": false. Even simpler as you don't need path
-
stackunderflow almost 2 yearsi hate vscode. how to do without it?
-
felix-ht almost 2 years@David this is not a good idea because usually users want git repos within the workspace folder to be detected.
-
David almost 2 years@felix-ht, you are right but that was excactly what I wanted to do in my case