gitignore all files and folders in only one folder
# Step 1) First stop git from tracking the <folder>
### Example git rm -r --cached dist ###
git rm -r --cached <folder>
# Step 2) Then update .gitignore file
dist/
node_modules/
*.log
.env
*.zip# exclude everything
somefolder/*
# exception to the rule
!somefolder/.gitkeep *
*/
!.gitignore
Also in C++:
- laravel/sail
- how to delete command from terminal history
- brew install vscode
- how to uninstall opencv in ubuntu
- git rename commit
- bash how to change all filenames in a directory
- java check jre version
- gitflow workflow diagram
- install homebre windows
- boost volume ubuntu
- git revert commit for single file
- git stash apply specific file
- powershell alias setting
- rename github repository command line
- install prptypes
- find large files in ubuntu
- bash split string with awk
- add application to ubuntu dock
- update angular cli globally
- linux sed remove string in file
- how to clear gradle cache gitignore
- squash commit history git
- rm recursive file pattern
- how to update mongodb in ubuntu 18.04