I created a file named .gitignored and then wanted to remove the file node_modules and .env, so I typed those commands and saved the file, but still, it shows 1k files in source controls.
CodePudding user response:
The file should be named .gitignore not .gitignored (notice the lack of "d")
CodePudding user response:
Try to name the file .gitignore not .gitignored