git配置无法识别

问题描述 投票:0回答:1

我无法运行Pyscaffold putup,因为它告诉我,我的git用户名和电子邮件都没有设置。他们是安装的。

我的设置有什么问题?

我像这样设置我的git配置:

$ git config --global markee.email "[email protected]"
$ git config --global markee.name "MarkESmith"

它检查出:

$ git config -l

[email protected]
markee.name=MarkESmith

$ git config --global markee.name
MarkESmith

$ cat ~/.gitconfig

[markee]
    email = [email protected]
    name = MarkESmith

然后我尝试做了我的翻身操作:

$ putup boston_housing
ERROR: Make sure git is configured. Run:
  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"
to set your accounts default identity.
python git config conda
1个回答
3
投票

你应该用

git config --global user.email "[email protected]"
git config --global user.name "MarkESmith"

字符串是user.emailuser.name,而不是用你的用户名参数化。

© www.soinside.com 2019 - 2024. All rights reserved.