Skip to content

Instantly share code, notes, and snippets.

@cfkloss
Created June 25, 2018 23:56
Show Gist options
  • Save cfkloss/53db6a881d474cb92c2f5aff18ed8ec2 to your computer and use it in GitHub Desktop.
Save cfkloss/53db6a881d474cb92c2f5aff18ed8ec2 to your computer and use it in GitHub Desktop.
GIT: Remove all tracked files and add them back (after changing .gitignore)
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment