Skip to content

Commit

Permalink
Convenience script for building gh_pages brancH
Browse files Browse the repository at this point in the history
  • Loading branch information
batterseapower committed Apr 26, 2009
1 parent 2d85856 commit e60f55d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions github-init-pages-branch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
#

echo "WARNING: this operation will lose any uncommitted changes! Kill me in the next 10 seconds if you don't want to do this"
sleep 10

git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx

0 comments on commit e60f55d

Please sign in to comment.