Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 451 Bytes

gh-pages.md

File metadata and controls

27 lines (22 loc) · 451 Bytes

gh-pages setup

worktree!

initial

git checkout --orphan gh-pages
git rm --cached -r .
git add readme.md
git commit -m "Initial"
git symbolic-ref HEAD refs/heads/master
git reset --mixed
git push -u origin gh-pages
git worktree add gh-pages gh-pages

ongoing

copy example/* gh-pages # dirty windows user!!!
copy dist/* gh-pages # dirty windows user!!!
cd gh-pages
git add . --all
git commit -am "Release vx.x.x"
git push