Try   HackMD

還原 Hexo blog 撰寫環境

事前準備

確認 Hexo 所需要的環境是否已經安裝完成

  • git
  • Node.js
  • hexo-cli

還原 Hexo 撰寫環境

  1. clone 遠端的 Repository

    ​​​​git clone REPOSITORY_URL BLOG
    
  2. 進入 BLOG 資料夾,切換至 SOURCE_BRANCH

    ​​​​cd BLOG
    ​​​​git checkout SOURCE_BRANCH
    
  3. 還原所需要的 npm 套件

    ​​​​npm install
    

參考資料

Hexo - Restore blog envirement from remote repository.