Skip to content

Instantly share code, notes, and snippets.

@khattab88
Created July 23, 2020 10:12
Show Gist options
  • Save khattab88/27ef526af2b20407061885eb4f108304 to your computer and use it in GitHub Desktop.
Save khattab88/27ef526af2b20407061885eb4f108304 to your computer and use it in GitHub Desktop.
https://stackoverflow.com/questions/45400361/why-is-gitignore-not-ignoring-my-files
git rm -r --cached .
git add .
git commit -m "Untrack files in .gitignore"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment