创建空的git分支
bash
git
创建一个名叫gh-pages的空分支,用于github pages。
git checkout --orphan gh-pages
git reset --hard # make sure all changes are committed before running this!
git commit --allow-empty -m "Initialising gh-pages branch"
git push origin gh-pages