Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to ignore folder in gitignore duplicate

# 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
Comment

PREVIOUS NEXT
Code Example
Shell :: cache github credentials ubuntu 
Shell :: how to delete all pods in kubernetes 
Shell :: how to terminate localhost 3000 linux 
Shell :: how to upgrade maven in linux 
Shell :: putty ubuntu 
Shell :: uninstall teams on ubuntu 
Shell :: macos netcat start listening 
Shell :: clone at a given commit github 
Shell :: cmd unzip windows 
Shell :: how to merge text files into one bash 
Shell :: redis client find key 
Shell :: bash add all numbers 
Shell :: install vault 
Shell :: stop elasticsearch node 
Shell :: npm -s flag 
Shell :: how to update application in ubunut 
Shell :: apache install 
Shell :: revert unstaged changes git 
Shell :: start stop restart pm2 
Shell :: bash two for loops 
Shell :: composer install via cmd 
Shell :: ubuntu fractional scaling 
Shell :: how to use github to setup projects 
Shell :: remove all files in a directory linux 
Shell :: docker build from github repository 
Shell :: install maven ubuntu 20.04 
Shell :: Github code for update 
Shell :: know committed files by author 
Shell :: if float less than bash 
Shell :: how to install appindicator 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =