Created
June 8, 2013 19:47
-
-
Save PabloVallejo/5736360 to your computer and use it in GitHub Desktop.
Useful tasks that may necessary when using git.
This file contains 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
# Remove cached repository in order to .gitignore to take effect after | |
# several commit have been made. | |
git rm -r --cached . | |
git add . | |
git commit -m "Removed cached repository, now .gitignore should work fine." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment