Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (5 sloc) 124 Bytes
#!/bin/sh
test -z $1 && echo "branch required." && exit 1
git symbolic-ref HEAD refs/heads/$1
rm .git/index
git clean -fdx