当你在使用Git进行commit操作时遇到“author identity unknown”的错误,这通常意味着Git无法识别你的用户身份,即你没有为你的Git仓库配置用户名和邮箱。以下是解决这个问题的步骤: 确认错误: 当你在命令行中执行git commit时,如果Git没有配置用户名和邮箱,它可能会显示类似“*** Please tell me who you are. Run...
解决方式就是:输入git checkout master 出现Already on 'master' ,Branch 'master' set up to track remote branch 'master' from 'origin'.,说明已经切换到 master 上。 再次输入git branch -a发现已经有本地分支 在用git branch -avvv查看 【a:查看所有分支】 【v:每个分支的最后一个提交(commit)】 【v...
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...
使用命令commit: git commit 后续有一个文件(vi语法,修改之后保存退出),再查看status: 注意:需要设置用户名和用户邮箱才能使用 git使用commit命令后显示Author identity unknown的解决方法 1.3 推送到远程仓库 (1)查看默认的推送地址: git remote -v (2)推送 ...
注意: 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. ...
"lastMergeCommit": { "commitId": "fd8da3e51efe350811d2157b2223df53d4db46c3", "author": { "name": "Normal Paulk", "email": "fabrikamfiber16@hotmail.com", "date": "2016-11-01T16:30:40Z" }, "committer": { "name": "Normal Paulk", "email": "fabrikamfiber16@hotmail.com"...
git -c user.name= commit --allow-empty -m foo 2>err && test_i18ngrep "empty ident name" err test_i18ngrep "empty ident name" err && test_i18ngrep "Author identity unknown" err ) ' test_expect_success'empty configured name does not auto-detect for committer'' ...
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 it’s immutably baked into the commits you start creating: ...