git ignore

Shell
git rm -r --cached .
git add --all
git commit -m "ignoring gitignore"
git push --set-upstream origin master
node_modules
.DS_Store
.env$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"
echo "
bin/**
lib/**
pyvenv.cfg
**.pyc
"  > .gitignore
cat .gitignoreIn Terminal, navigate to the location of your Git repository.
Enter touch .gitignore to create a .gitignore file.
Source

Also in Shell: