Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (5 sloc) 87 Bytes
#!/bin/sh
git stash
git symbolic-ref HEAD refs/heads/$1
rm .git/index
git clean -f -d