当你在使用Git进行commit操作时遇到“author identity unknown”的错误,这通常意味着Git无法识别你的用户身份,即你没有为你的Git仓库配置用户名和邮箱。以下是解决这个问题的步骤: 确认错误: 当你在命令行中执行git commit时,如果Git没有配置用户名和邮箱,它可能会显示类似“*** Please tell me who you are. Run...
Git从本地上传到远程仓库报错集 1、git使用commit命令后显示 Author identity unknown 的解决方法 重新输入命令: 先输入:$ git config --global user.name“你的名字” 回车后, 再输入:$ git config --global user.email“你的邮箱地址” 完成后再提交就没问题了。 可输入git status查看状态 2、如何解决error:...
git 在刚开始使用时需要设置 user.name, user.email, 不然 git commint的时候会报错Author identity unknown,具体设置步骤: git config --global user.name'your name'git config--global user.email'your email' 设置完后可以用以下命令查看设置结果; git config --list 表示设置成功;此时使用 git commit -m'...
git commit -m “” 指令报错 错误信息: Author identity unknown *** 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 repo...
git 在刚开始使用时需要设置 user.name, user.email, 不然 git commint的时候会报错Author identity unknown,具体设置步骤: git config --global user.name'your name'git config--global user.email'your email' 1. 2. 设置完后可以用以下命令查看设置结果; ...
当我们在git commit -m '**'时出现 命令执行失败的原因是没有在本地设置用户名和邮箱,在命令行设置一下即可: git config –global user.email 'you@example.com' git config –global user.name 'Your name' Shell 复制 上面的方法配置的是全局的用户名和邮箱!就是说如果没有单独为项目配置,那提交的所有...
如果不配置,是上传不了代码的,会有如下报错(上传也叫提交,commit): $ git commit -m"wrote a readme file"Author identity unknown *** Please tell me who you are. Run git config --global user.email"you@example.com"git config --global user.name"Your Name"tosetyour account's default identity...
注意: git使用commit命令后显示Author identity unknown 报错如下: *** 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. ...
Description When trying to create a commit, I get the error "Fail to set your identity. Unhandled error". I run Jupyter inside an venv environment. But I get this message. The repo is from a private GitLab instance and I use a signing ke...
You can view all of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user name and email address. This is important because every Git commit uses this information, and...