我无法运行 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,而不是用您的用户名参数化。
添加回答
举报
0/150
提交
取消
