Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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"
@charanjit-singh

This comment has been minimized.

Copy link

@charanjit-singh charanjit-singh commented May 6, 2020

👍

@stephen-ifmacinema

This comment has been minimized.

Copy link

@stephen-ifmacinema stephen-ifmacinema commented Jun 13, 2020

Great

@tiagobbraga

This comment has been minimized.

Copy link

@tiagobbraga tiagobbraga commented Jan 11, 2021

👍

@Daniel-Monroy

This comment has been minimized.

Copy link

@Daniel-Monroy Daniel-Monroy commented Feb 9, 2021

Great !!

@luisgagocasas

This comment has been minimized.

Copy link

@luisgagocasas luisgagocasas commented Feb 12, 2021

👍

@angelzarazua

This comment has been minimized.

Copy link

@angelzarazua angelzarazua commented May 3, 2021

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment