Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode Flutter - stop tracking Flutter repo changes

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

like image 325
Bill Noel Avatar asked Aug 25 '20 22:08

Bill Noel


People also ask

How do I Close a flutter repository?

You can right click on the flutter repo (the one above the git commit message text field) and close repository. Disclaimer: I encountered the same problem and found this question. Then I saw it's unanswered, so I raised a bounty.

How can I be notified about breaking changes in flutter?

As described in the breaking change policy , on occasion we publish guides for migrating code across a breaking change. To be notified about future breaking changes, join the groups Flutter announce and Dart announce. The following guides are available. They are sorted by release, and listed in alphabetical order:

How to fix flutter source control not working issue?

Simply close that source control by minimizing it. Usually, Flutter with Source Control enabled to have these problems.

How to make a country select list in flutter?

When you are making a form in Flutter which has a filed to get Country name, it is better to make country select then input field. But to make a country select list is a bit lengthy, you need data of countries, flags, country codes, dial codes.


1 Answers

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.

git.AutoRepositoryDetection

like image 169
felix-ht Avatar answered Sep 28 '22 17:09

felix-ht