'Vscode: How do I stop git from displaying green U(Untracked Files) markers?
I don't understand why git in Vscode would be warming me about untracked files. If I have deleted/close the repository in Vscode. I have also deleted/close the repository on GitHub. I thought that closing the repo in vscode would prevent/stop git from ever remembering that folder use to be used for source control. Yes, once I close the repo in vscode, all of the markers in vscode stops appearing for that folder. However, once I quit vscode for the day and reopen vscode. The markers such as Untracked file (green U) shows back up. I have even tried removing the folder from my workspace and adding it back in. If I do this git automatically displays the markers such as the green U. Please help this is very annoying as I don't want this folder to be use for source control. I was only using it as a test folder to see how to set up git and connect it to GitHub. Now it doesn't seem to stop.
Help enter image description here I have provided two screenshots
Solution 1:[1]
For Windows users: open Explorer -> View menu -> options -> view -> show hidden files -> ok -> go to the folder and delete the .git subfolder.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | LoopBurglar |
