Skip to content

Instantly share code, notes, and snippets.

@diegorribeiro
Created April 24, 2018 17:30
Show Gist options
  • Save diegorribeiro/462d665809c6b93be20519f82a7681f7 to your computer and use it in GitHub Desktop.
Save diegorribeiro/462d665809c6b93be20519f82a7681f7 to your computer and use it in GitHub Desktop.
Git remove cached itens after update .gitignore file
git rm --cached <file>
#or
git rm --cached . -r && git add . && git commit -m "Message" && git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment