git config --global user.name "yourgithubname"
git config --global user.email "yourgithubemail"
git branch
git checkout -b xxx
git checkout xxx
git branch -d xxx
git push origin --delete xxx
ssh-keygen -t rsa -C "youremail"
npm install hexo-deployer-git --save
git pull
git pull origin master
git pull --rebase origin master
git fetch origin
git push
git push origin master
git push -u origin master
git remote -v
git remote add origin [email protected]:yourgitname/yourrepname.git
git remote set-url origin [email protected]:yourgitname/yourrepname.git
git remote rm xxx
npm install --save hexo-helper-live2d
npm install live2d-widget-model-xxx
live2d:
enable: true
scriptFrom: local
model:
use: live2d-widget-model-xxx
display:
position: right
width: 150
height: 300
mobile:
show: false
https://huaji8.top/post/live2d-plugin-2.0/
git add .
git commit -m "更新说明"
git push -u origin hexo
从github上下载的主题或内容,提交前要删掉所下载文件中的.git相关文件,否则会push失败