【Git错误】上传gitee:Please tell me who you are.Run git config --global user.email “you@example.com

这篇具有很好参考价值的文章主要介绍了【Git错误】上传gitee:Please tell me who you are.Run git config --global user.email “you@example.com。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

错误:

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.

意思:

作者身份未知
***请告诉我你是谁。

git-config--全局user.email“you@example.com“
git-config--全局用户名“Your name”
设置帐户的默认标识。

解决:

  • 新下载的git没有告知身份
  • 【Git错误】上传gitee:Please tell me who you are.Run git config --global user.email “you@example.com,git,gitee,java
  • //分别执行
    
    git config --global user.name "你的名字"
     
    git config --global user.email "你的邮箱"
     
  • 然后再执行commit命令,就可以提交成功了;文章来源地址https://www.toymoban.com/news/detail-752612.html

-- 查看设置的用户名:
git config user.name
-- 查看设置的邮箱:
git config user.email

到了这里,关于【Git错误】上传gitee:Please tell me who you are.Run git config --global user.email “you@example.com的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • git push错误:You are not allowed to force push code to a protected branch on this project

            本地使用 git push --force origin 命令强制推送时,出现 “You are not allowed to force push code to a protected branch on this project”错误,意为该分支为受保护的,不允许这类操作,可以通过git管理后台关闭该项目分支的保护状态处理。 使用管理员账号进入git中的项目设计,setting

    2024年02月11日
    浏览(58)
  • 已解决:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy

    安装了新版Android Studio,开始跑一个项目时,出了如下错误:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy setting 意思是连接超时:连接。如果您在HTTP代理之后,请配置代理设置 看了网上的几种解决方案,都没有太适合的,于是自己在设置中,, 搞了

    2024年02月06日
    浏览(35)
  • Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of

    1、在 Terminal 上输入命令: gradlew app:dependencies --configuration releaseRuntimeClasspath ,执行了: Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.,翻译: Android Gradle插件需要Java 11才能运行。您目前正在使用Java 1.8。 解决问题:如何下载安装的JDK11       2、android studio

    2024年02月16日
    浏览(36)
  • 完美解决Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy

    当你用Android studio 打开一个新项目(一般是下载的工程),可能会报错 Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle. android 2.0以后,涌现该题目的缘由是as拜访... 当你用Android studio 打开一个新项目(一般是下载的工程),可能会

    2024年02月08日
    浏览(27)
  • overleaf报错:Sorry, we could not verify that you are not a robot. Please check that Google reCAPTCH

    overleaf登录遇到问题: 原因: 人机验证被拦截 解决方案: 1. 关闭代理服务器     有时候挂着VPN就关机的话,再开机就会默认打开代理服务器     在“设置→网络→代理”中关闭代理服务器即可 2. 换一个浏览器 3. 关闭广告拦截       若有下载广告拦截插件,则关闭插件即

    2024年01月16日
    浏览(48)
  • 多种方法解决Please specify which branch you want to merge with的错误

    今天发布某版本的项目,准备创建个 v0point1 分支,后期如果修改该版本,直接在该分支上修改即可。 首先,使用 git branch v0point1 命令,创建本地分支 v0point1 ,如下图所示: 其次,使用 git checkout v0point1 命令,切换到 v0point1 分支,如下图所示: 当然,我们也可以使用 git ch

    2024年02月16日
    浏览(35)
  • git reset回退版本【Git异常】You are in ‘detached HEAD‘ state

    git clone项目后,在main分支回退版本,出现报错 detached HEAD称为分支游离状态 1、从远程库clone下来一个远程的repository; 2、clone下来之后,git自动在本地建立了一个本地分支master,并自动与远程库master关联; 3、现在在操作checkout其他分支名(dev_v1);因为本地的工作区目前是刚刚

    2024年02月11日
    浏览(41)
  • Git报错: Please move or remove them before you switch branches.

    Bug记录:在我写需求的时候,产品说上个包有崩溃,于是我就控制台 git checkout切分支,结果报错Please move or remove them before you switch branches.下面是被改动的文件,因为是项目build的时候产生的临时文件,一般都不会上传,所以就想着把它删掉。 1.首先: 产看当前分枝的状态 ,

    2024年02月05日
    浏览(39)
  • “You are not allowed to create a user with GRANT”错误出现原因及解决方法:

    一、出现原因:         8.0之后的mysql不支持 授权的时候就进行用户创建,所以创建 之后才能授权; 二、解决方法; 1、查看正在mysql登录状态的用户:select current_user;   2、创建新用户:create user \\\'用户名\\\'@\\\'localhost\\\' identified by \\\'123456\\\';        3、设置用户权限:grant all on

    2024年02月16日
    浏览(37)
  • 如何解决错误WARNING: You are using pip version 21.1.2; however, version 22.3.1 is available.

    实际上是pip版本出现了问题,现在的版本是21.1.2,需要升级到22.3.1  按照提示,在cmd输入命令(按win+R打开):python -m pip install --upgrade pip 回车,更新一下就好啦 ps:如果需要装其他库,用镜像网站会更快哟,这里提供一下方法(以下使用的是中国科技大学的镜像网站,真心

    2024年02月12日
    浏览(32)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包