为了账号安全,请及时绑定邮箱和手机立即绑定

git 配置无法识别

git 配置无法识别

12345678_0001 2021-12-16 15:51:29
我无法运行 Pyscaffold putup,因为它告诉我,我的 git 用户名和电子邮件没有设置。不过他们已经设置好了。我的设置有什么问题?我这样设置我的 git 配置:$ git config --global markee.email "mark_e@smith.com"$ git config --global markee.name "MarkESmith"它检查:$ git config -lmarkee.email=mark_e@smith.commarkee.name=MarkESmith$ git config --global markee.nameMarkESmith$ cat ~/.gitconfig[markee]    email = mark_e@smith.com    name = MarkESmith然后我尝试做我的自举操作:$ putup boston_housingERROR: Make sure git is configured. Run:  git config --global user.email "you@example.com"  git config --global user.name "Your Name"to set your accounts default identity.
查看完整描述

1 回答

?
慕森卡

TA贡献1806条经验 获得超8个赞

你应该使用


git config --global user.email "mark_e@smith.com"

git config --global user.name "MarkESmith"

其中字符串是user.emailand user.name,而不是用您的用户名参数化。


查看完整回答
反对 回复 2021-12-16
  • 1 回答
  • 0 关注
  • 158 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号