git 配置无法识别
git config not recognised
我不能 运行 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.
你应该使用
git config --global user.email "mark_e@smith.com"
git config --global user.name "MarkESmith"
其中字符串为 user.email
和 user.name
,并且未使用您的用户名进行参数化。
我不能 运行 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.
你应该使用
git config --global user.email "mark_e@smith.com"
git config --global user.name "MarkESmith"
其中字符串为 user.email
和 user.name
,并且未使用您的用户名进行参数化。