Created
February 4, 2014 12:58
-
-
Save bripkens/8803141 to your computer and use it in GitHub Desktop.
This gist is meant to be a joke. Do not use it. Bad things may happen! :-D
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
unfuck() { | |
remote=$(git remote -v | head -n 1 | awk '{print($2)}') | |
d=$(pwd) | |
cd .. | |
rm -rf $d | |
git clone $remote | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment