I created a git folder in the windows power shell using the code: git init, but I can't see the folder where I created it. If git folders are hidden then how can I access them and make them visible because I want them to show up in Visual Studio Code?
Asked
Active
Viewed 367 times
1 Answers
0
You need to make hidden folder visible.
In windows:
- Open File Explorer from the taskbar.
- Select View > Options > Change folder and search options.
- Select the View tab and, in Advanced settings, select Show hidden files, folders, and drives and OK.
View hidden files and folders Windows 10
In Visual Studio Code.
- Menu Code → Preference → Setting
- Search for files.exclude
- Mouse over files.exclude property, click on the edit icon and then opt for the copy to settings.
- The above steps will add all the properties, but keep only those which need to be overridden. For this case: it should be,
"files.exclude": { "**/.git": false }
- Close the user setting. the .git folder will automatically appear in the respective repository.

Davide Pizzolato
- 679
- 8
- 25