Created
May 19, 2011 17:12
-
-
Save lloyd/981252 to your computer and use it in GitHub Desktop.
A lil script to create a gh-pages branch from a subset of the repository. EXPENSIVE
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
$ git branch -D gh-pages | |
$ git branch gh-pages | |
$ git filter-branch --subdirectory-filter test/ gh-pages | |
$ git push -f origin gh-pages:gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment