经常会用到的命令

MARK

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

hexo n == hexo new
hexo g == hexo generate
hexo s == hexo server
hexo d == hexo deploy
hexo cl== hexo clean
hexo cl
hexo s
hexo n 标题
git pull origin hexo
git push -f #强推
git clone git@github.com:nolevo/nolevo.github.io.git
git status
git add .
git commit -m "updated local at `date +"%Y-%m-%d %H:%M"`"
git push origin hexo

End