Git commit laravel总是出现需要配置用户名和用户信息的提示信息。
2018-02-24 22:43
453 查看
错误信息:
$ git commit -m "Basic user profile editing"
*** 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: empty ident name (for <(NULL)>) not allowed
解决方案:
一方面,查看环境变量,SET Home查看Home的值,然后来到Home的目录,配置全局的邮箱和密码。
git config --global user.name "youname"
git config --global user.email "youeamil@email.com"最后可以通过 git config -l 这个命令查看已配置的用户名和邮箱信息在本项目的git的config文件下,添加以下三行:
[user] email = yourname@example.com name = yourname
$ git commit -m "Basic user profile editing"
*** 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: empty ident name (for <(NULL)>) not allowed
解决方案:
一方面,查看环境变量,SET Home查看Home的值,然后来到Home的目录,配置全局的邮箱和密码。
git config --global user.name "youname"
git config --global user.email "youeamil@email.com"最后可以通过 git config -l 这个命令查看已配置的用户名和邮箱信息在本项目的git的config文件下,添加以下三行:
[user] email = yourname@example.com name = yourname
相关文章推荐
- 用 git config 配置用户信息
- 出现错误,提示:各个节在每个配置文件中只能出现一次。有关异常的信息,请参阅帮助主题 <location>。请问
- 解决git推送绕过ssh-key验证需要输入用户信息
- git 合并分支时出现的异常解决方案----蓝字,提示输入提交信息的
- Git学习笔记03—Git配置用户信息
- android注册新用户时用户名、密码验证信息实时提示实现
- ssh配置还是需要输入密码;提示信息:Permissions 0775 for '/home/hadoop/.ssh/id_dsa' are too open.
- QC安装过程中数据库连接问题与用系统用户时总是提示用户名密码不正确
- Git 提交公钥文件后,执行git clone命令的时候 总是出现提示 输入服务端密码......
- win 7 删除了用户文件夹后出现的&quot;你已使用临时配置文件登录&quot;提示的解决方法
- gitlab配置smtp时,总是提示需要鉴权,记录一下爬坑过程。
- git问题:git提交的时候总是提示key加载失败,总是需要手工将key加到Pageant中
- 在配置windows2003域控时出现“未授予用户在此计算机上的请求登录类型”错误提示的解决方法
- git pull/push项目的时候总是提示要输入用户名密码的解决方案
- 无线网络连接后总是提示可能需要其他登陆信息
- vs打开项目出现“尚未配置为Web项目XXXX指定的本地IIS URL HTTP://localhost:…… .要打开此项目,需要配置虚拟目录……”提示
- jenkins配置git出现ERROR: Timeout after 10 minutes 同时命令行出现:Enter passphrase for key 的提示
- sharepoint 2010 配置用户同步连接出现错误信息" Unable to process Create message"的一个解决方法
- git pull/push项目的时候总是提示要输入用户名密码的解决方案
- 创建并部署一个Servlet,要求在实现用户登录功能,当用户名和密码正确时跳转到欢迎页面,否则提示出错信息