Skip to content

Instantly share code, notes, and snippets.

@seabbs
Created July 2, 2020 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seabbs/a12b4706d3f2f93d175ea780729e7f0d to your computer and use it in GitHub Desktop.
Save seabbs/a12b4706d3f2f93d175ea780729e7f0d to your computer and use it in GitHub Desktop.
Deploy GitHub pages from the docs folder to gh-pages
git subtree split --squash --prefix docs -b gh-pages
git push -f origin gh-pages:gh-pages
git branch -D gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment