Skip to content

Instantly share code, notes, and snippets.

@matthacksteiner
Last active May 13, 2020 09:51
Show Gist options
  • Save matthacksteiner/024f1792c6a0498721162ab490a675fd to your computer and use it in GitHub Desktop.
Save matthacksteiner/024f1792c6a0498721162ab490a675fd to your computer and use it in GitHub Desktop.
Untrack files already added to git repository based on .gitignore
1. Commit all changes
2. git rm -r --cached .
3. git add .
4. git commit -m ".gitignore fix"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment