Created
May 31, 2019 02:22
-
-
Save ezirmusitua/c172260a5bf3cd1d17705bb994c7a8fd to your computer and use it in GitHub Desktop.
[Remove Added Ignore File In Git] #git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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