Skip to content

Instantly share code, notes, and snippets.

@seabbs
Created July 2, 2020 19:40
Show Gist options
  • Select an option

  • Save seabbs/a12b4706d3f2f93d175ea780729e7f0d to your computer and use it in GitHub Desktop.

Select an option

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