Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SpeedOfSpin/400bfd7a7199eabcb12ba078f8ab6254 to your computer and use it in GitHub Desktop.
Save SpeedOfSpin/400bfd7a7199eabcb12ba078f8ab6254 to your computer and use it in GitHub Desktop.
Untrack and retrack files for Git
git rm -r --cached .
git add .
git commit -m "untrack files contained in the .gitignore file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment