In the standard Windows Explorer, the repo contains all the expected files: A snip of my file directory .
In VSCode, the .gitignore
file does not display in the explorer . It's still seemingly functional (all files in the .gitignore
are ignored), but it poses an annoyance. Most notably, the .gitignore
file does appear in other repos that I have on my machine.
Help would be appreciated.
Check in your project folder .vscode/settings.json
.
In section files.exclude
most likely you will see the line
"**/.gitignore":true
Comment out or delete it and the file will appear in Visual Code Explorer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.