Skip to content

Instantly share code, notes, and snippets.

View ideacatlab's full-sized avatar

Răzvan Gheorghe ideacatlab

View GitHub Profile
@ideacatlab
ideacatlab / clear_gitignore_cache.bash
Last active August 17, 2023 23:13 — forked from ainsofs/gist:2b80771a5582b7528d9e
Clear .gitignore 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"