Last active
August 29, 2015 14:26
-
-
Save StudioLE/d57789694f5be429adaf to your computer and use it in GitHub Desktop.
Remove folder from .git but not from local
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
| # http://stackoverflow.com/questions/1947430/git-remove-directory | |
| # Remove from cache | |
| git rm -r -f --cached DIR_NAME | |
| # Then add DIR_NAME to .gitignore | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment