Shell scripts
更新gitbook电子书
#!/bin/zsh
git add .
git commit -m "update notes"
git push
# notes: exec cmd "chmod u+x push.sh" before "./push.sh"更新个人博客
#!/bin/zsh
# push all the changed files and untracked files of blog
git add .
git commit -m "update blog files"
git push
# generate website files and deploy it to www.litreily.top
hexo clean
hexo g -dLast updated