Day065 — update .gitignore to ignore tracked files
1 min readMar 7, 2019
After updating .gitignore, you need to clear git cache to truly ignore files that already been tracked.
git rm -r --cached .
git add .
git commit -m "update .gitignore"
After updating .gitignore, you need to clear git cache to truly ignore files that already been tracked.
git rm -r --cached .
git add .
git commit -m "update .gitignore"