Skip to content

Instantly share code, notes, and snippets.

@andreasvirkus
Created August 19, 2017 07:56
Show Gist options
  • Save andreasvirkus/fe230b5e41c12ba9e94eb50fac4c89b5 to your computer and use it in GitHub Desktop.
Save andreasvirkus/fe230b5e41c12ba9e94eb50fac4c89b5 to your computer and use it in GitHub Desktop.
Sometimes you wish to pull in a boilerplate for your gh-pages branch.
export REPO_NAME=repo
export RELEASE=release-or-branch
curl -L https://github.com/user-or-org/$REPO_NAME/archive/$RELEASE.tar.gz | tar xz \
&& mv $REPO_NAME-$RELEASE/* ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment