Skip to content

Instantly share code, notes, and snippets.

@bripkens
Created February 4, 2014 12:58
Show Gist options
  • Save bripkens/8803141 to your computer and use it in GitHub Desktop.
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
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