我无法运行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.
你应该用
git config --global user.email "[email protected]"
git config --global user.name "MarkESmith"
字符串是user.email
和user.name
,而不是用你的用户名参数化。