
Hello,
$ hexo generate
這個可以產生靜態檔案
$ hexo server
這個可以建立連線
github相關指令
git status
會知道你是否有檔案更動過
git add -u
將所有檔案提交到一個patch
git commit -m “name”
提交到遠端
git push
發出去
$ git push github master
To https://github.com/allenx360/hexo.io.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/allenx360/hexo.io.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
$ git pull github master --allow-unrelated-histories
From https://github.com/allenx360/hexo.io
* branch master -> FETCH_HEAD
Merge made by the 'recursive' strategy.




近期评论