Created
April 15, 2021 17:53
-
-
Save licensed/70791c192ff297bf67d634b818dd188d to your computer and use it in GitHub Desktop.
Untrack Files
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
- Commit all your changes, including .gitignore | |
- git rm -r --cached . | |
- git add . | |
- git commit -m ".gitignore fix" | |
Source: https://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment