为什么hexo用git部署到github上每次都要输入用户名和密码

如题所述

在hexo根目录下

git config --global user.name "xxx"                       # 配置用户名
git config --global user.email "[email protected]"              # 配置邮件

温馨提示:答案为网友推荐,仅供参考
相似回答