File> Preferences> Settings
##User Settings> Text Editor> File> Open as shown below As shown:"files.exclude": { "**/.git": false }
##User Settings> Text Editor> Exclude, find Correspond to the excluded item "**/.git" and delete it, the hidden .git file will automatically appear, as shown below:
in your workspace. The git file will appear!
Related recommendations:
vscode tutorialThe above is the detailed content of vscode does not display git files. For more information, please follow other related articles on the PHP Chinese website!