0

Using GitLab, need to hide the folder .vscode.

I copied the template from here: https://gist.github.com/takekazuomi/10955889

I'm not sure what I'm doing wrong...

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

...

Task1/Task1/.vscode

...

Images of:

Project File Structure

GitLab Structure

user434002
  • 13
  • 4
  • 1
    If you already had the files in the folder committed and pushed, before you added the folder in .gitignore, it will not have any effect. .gitignore applies only to not committed files. – dunni Jan 13 '21 at 10:52

1 Answers1

0

Check if your relative path to your .vscode folder is really correct - alternatively you can exclude all .vscode folders by adding *.vscode to your .gitignore.

Have you already committed and pushed to your Gitlab repository? The file-structures between your local and remote project seem to be different.

StephanB
  • 315
  • 2
  • 17