Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ezirmusitua/c172260a5bf3cd1d17705bb994c7a8fd to your computer and use it in GitHub Desktop.
Save ezirmusitua/c172260a5bf3cd1d17705bb994c7a8fd to your computer and use it in GitHub Desktop.
[Remove Added Ignore File In Git] #git
# Reference: http://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/
# commit all changes
git commit -m "Style: Before Lint"
# remove everything from repository
git rm -r --cached .
# re-add things
git add.
# commit
git commit -m "Style: Lint"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment