Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git ignore cache

# Remove specific file from git cache
git rm --cached filename

# Remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #git #ignore #cache
ADD COMMENT
Topic
Name
8+7 =