赞
踩
在pull代码后,想进行checkout,merge的时候出现如下错误:
Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name “Your Name” to set your account’s default identity. Omit --global to set the identity only in this repository. unable to auto-detect email a
是关于权限的问题,首先得确认远程仓库已经给了你权限。
进入你项目所在的本地仓库位置,然后输入如下命令:
Lenovo@DESKTOP-TV81NH2 MINGW64 你的本地仓库路径 (XXX你的分支名)
$ git config --global user.email "你的email"
Lenovo@DESKTOP-TV81NH2 MINGW64 你的本地仓库路径 (XXX你的分支名)
$ git config --global use.name "用户名(已赋予权限)"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。