Created
January 10, 2017 05:19
-
-
Save chroming/602c5be0f6fca720db57013b77a7f374 to your computer and use it in GitHub Desktop.
hexo 常用命令
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hexo new "postName" #新建文章 | |
hexo new page "pageName" #新建页面 | |
hexo generate #生成静态页面至public目录 简写:hexo g | |
hexo server #开启预览访问端口(默认端口4000,'ctrl + c'关闭server) 简写:hexo s,可用--debug | |
hexo deploy #将.deploy目录部署到GitHub 简写:hexo d | |
hexo d -g #组合命令,先生成页面,后部署到Github |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment