Git 管理项目 遇到的问题
2017-11-11 10:01
337 查看
Git 在commit代码的时候出现错误 意思是有没有设置用户名和邮箱
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/87/wkg82g816sz6s0fp95_z7pnw0000gn/T/SourceTreeTemp.gJtD9g
*** 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.
fatal: unable to auto-detect email address (got 'luweimac_mini@luweiMinideMini.(none)')
Completed with errors, see above
解决办法:
打开终端 进入项目的根目录
cd 把项目拖进来
luweiMinideMini:Meilv1 luweimac_mini$ git config --global user.email "你git上的邮箱地址"
luweiMinideMini:Meilv1 luweimac_mini$ git config --global user.name "你git上的用户名"
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/87/wkg82g816sz6s0fp95_z7pnw0000gn/T/SourceTreeTemp.gJtD9g
*** 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.
fatal: unable to auto-detect email address (got 'luweimac_mini@luweiMinideMini.(none)')
Completed with errors, see above
解决办法:
打开终端 进入项目的根目录
cd 把项目拖进来
luweiMinideMini:Meilv1 luweimac_mini$ git config --global user.email "你git上的邮箱地址"
luweiMinideMini:Meilv1 luweimac_mini$ git config --global user.name "你git上的用户名"
相关文章推荐
- 项目管理---git----遇到问题------.gitignore不起作用
- 项目管理---git----遇到问题------.gitignore不起作用
- 使用git管理项目遇到的问题
- Git(Android Studio)项目提交更新到github详细步骤及可能遇到问题
- maven 私服(nexus)架设以及项目管理中遇到的问题及解决方案
- 《项目管理利器Maven》学习(七):使用Eclipse创建Maven项目遇到的问题
- git 上传本地项目到github以及遇到的一些问题
- 项目管理遇到这些问题,怎么办
- 使用git时遇到可以克隆但不能推送自己的项目 的问题
- reindex-maven 私服(nexus)架设以及项目管理中遇到的问题及解决方案(updating)
- ubuntu将svn项目迁移到git步骤以及遇到问题的解决方案
- 使用瓦力部署使用git进行版本控制的thinkphp5项目到Linux服务器遇到的问题
- 这些项目管理问题,你遇到过吗
- 在git服务器上创建项目过程及遇到的问题
- 遇到问题---java---git下载的maven项目web用tomcat发布时不带子项目
- 项目所遇到的一些管理问题解决方法
- 项目由以前的git管理变换成现在的svn出现的问题
- idea项目上传到git遇到的问题
- 使用github和SourceTree进行源代码管理遇到POST git-receive-pack (chunked) 问题
- 初涉项目管理时遇到的问题及解决思路