A lot of times when I'm just creating a project, I want to add a few files and directories to the .gitignore, before setting up git.
The behavior before was to just run git ignore node_modules and it would create a .gitignore file, not it's errors out with Not a git repo!. I understand why this is here, but it forces you to manually create the file and add these files before committing.
A lot of times when I'm just creating a project, I want to add a few files and directories to the
.gitignore, before setting up git.The behavior before was to just run
git ignore node_modulesand it would create a.gitignorefile, not it's errors out withNot a git repo!. I understand why this is here, but it forces you to manually create the file and add these files before committing.