Mat*_*att 5 git visual-studio-code
我想.git/
在Visual Studio Code编辑器上看到该文件夹,但是由于某些原因,它没有显示在所有项目文件夹所在的侧边栏上。我不知道这是否可以帮助您更好地理解问题,但这是我ls -la
在目录上执行操作时得到的
drwxr-xr-x .git
检查您的Visual Studio代码设置,是否有“ files.exclude
”
// Configure glob patterns for excluding files and folders. For example, the files explorer decides which files and folders to show or hide based on this setting.
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
Run Code Online (Sandbox Code Playgroud)
您应该能够排除.git
,默认情况下是隐藏文件夹。
您可以在用户级别(针对所有项目)或工作空间级别(仅针对此特定项目)进行操作