.gitignore
$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"
In Terminal, navigate to the location of your Git repository.
Enter touch .gitignore to create a .gitignore file.node_modules
.DS_Store
.envecho "
bin/**
lib/**
pyvenv.cfg
**.pyc
" > .gitignore
cat .gitignoreYou can ignore entire directories, just by including their paths and putting a / on the end:
1
2
node_modules/
logs/
Also in Shell:
- Why doesn't Git ignore my specified file?
- cmd prompt format
- install bully kali
- enzyme npm install
- git push set upstream
- install express globally
- como instalar ext-mbstring en ubuntu 18.04
- uninstall cinnamon
- pip install opencv version
- git find merge conflicts
- linux command line in windows 10
- how to open file in linux
- git flow feature
- windows virtualenv pip numpy problem
- linux command to move a file to another directory
- background script linux
- how to create branch in github using git bash
- pyglet linux
- telnet full form
- pull down remote branch git
- install pyenv
- how to use nano instead of vi
- change dns resolver linux
- how to zip a file in linux