Last active
February 5, 2016 17:39
-
-
Save d4rkd3v1l/6b170336ba74795655ac to your computer and use it in GitHub Desktop.
Reset stuck files in git (complete reset)
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
#!/bin/sh | |
# execute this in your repo's root dir | |
git rm --cached -r . | |
git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment