Skip to content

Instantly share code, notes, and snippets.

@tygern
Created August 26, 2015 11:17
Show Gist options
  • Save tygern/16cc4533187d10e5912d to your computer and use it in GitHub Desktop.
Save tygern/16cc4533187d10e5912d to your computer and use it in GitHub Desktop.
Git Subtrees - add remote
git remote add ghpages \
https://github.com/[USERNAME]/[USERNAME].github.io.git
git add .
git commit -m "Initial deploy to GitHub Pages"
git subtree push --prefix dist gh-pages master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment