git add .
git status # to see the changes to be committed
git commit -m "comments"
git push origin master
第二步(更新 gh- 页面) :
git-checkout gh-pages # going to the gh-pages branch
git rebase master # sync gh-pages with master
git push origin gh-pages # commit changes to gh-pages
git checkout master # return to the master