Hide files from Git Tab

Hello. I am searching for a way to hide specific files or files from a specific folder in the git tab, but I haven’t found any way that works. In my specific case I want to hide the node_modules folder from the git view so I a) don’t accidently commit it and b) the git list currently only shows the first 1000 elements for me, so I can’t reach the important files. I heard that a .gitignore file can do this, so I created one, but it still doesn’t work:

I hope, that anyone can help.

You’re on the right track: .gitignore is the way to go. It looks like you just typo’d node-modules/ instead of node_modules/ on that line. Fix that up and you should get the result you want :smile: