PabloVallejo
6/8/2013 - 7:47 PM

Useful tasks that may necessary when using git.

Useful tasks that may necessary when using git.


# 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."