Last active
March 9, 2016 11:23
-
-
Save cssence/62f55708306fe2dff36e to your computer and use it in GitHub Desktop.
git subtree for github pages
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
#!/usr/bin/env bash | |
git subtree push --prefix ${2-"public"} ${1-"origin"} gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git subtree push --prefix public github gh-pages