我不能运行Pyscaffold putup,因为它告诉我,我的git用户名和电子邮件没有设置。不过,它们已经设置好了。
我的设置有什么问题?
我这样设置我的git配置:
$ git config --global markee.email "mark_e@smith.com"
$ git config --global markee.name "MarkESmith"
它验证了:
$ git config -l
markee.email=mark_e@smith.com
markee.name=MarkESmith
$ git config --global markee.name
MarkESmith
$ cat ~/.gitconfig
[markee]
email = mark_e@smith.com
name = MarkESmith
然后我试着做我的putup操作:
$ putup boston_housing
ERROR: 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.
发布于 2019-03-26 04:00:41
你应该使用
git config --global user.email "mark_e@smith.com"
git config --global user.name "MarkESmith"
其中字符串是user.email
和user.name
,而不是使用用户名参数化。
https://stackoverflow.com/questions/55345327
复制相似问题