Answers for "git ingonre added files"

5

git ignore still tracking

git rm --cached <file>

git rm -r --cached <folder>
Posted by: Guest on January-15-2020
-1

git see added files

git diff --staged
Posted by: Guest on June-24-2020
1

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
Posted by: Guest on November-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language