Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A lil script to create a gh-pages branch from a subset of the repository. EXPENSIVE
$ 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
You can’t perform that action at this time.