Skip to content

Instantly share code, notes, and snippets.

@mlakhia
Last active August 29, 2015 14:06
Show Gist options
  • Save mlakhia/c5db7e3285872e3cc130 to your computer and use it in GitHub Desktop.
Save mlakhia/c5db7e3285872e3cc130 to your computer and use it in GitHub Desktop.
After updating .gitignore remove files from repo that shouldn't be tracked
// untrack all files in repo
git rm -r --cached .
// add all files to repo
git add -A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment