使用git提交代码,报错如下:

下午2:56   Commit failed with error
0 files committed, 1 file failed to commit: 升级
empty ident name (for <>) not allowed

原因为git没有找到该项目对应的用户名和密码,执行如下操作

git config  user.email "you@example.com"
git config  user.name "Your Name"

问题解决,正常提交并推送。  

设置全局默认配置:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

  

转载于:https://www.cnblogs.com/gongxr/p/9294605.html

Git提交代码失败: empty ident name (for ) not allowed相关推荐

  1. git提交代码常用命令

    简易的命令行入门教程: Git 全局设置: git config --global user.name "YC511" git config --global user.email ...

  2. Git 提交代码提示账号没有注册问题

    git 提交代码到远程仓库 错误 log (部分)如下: remote: ERROR: commit 75e3c26: email address busir@qq.com is not regist ...

  3. mac电脑Git提交代码到Github提示git-credential-osxkeychain 验证解决方案

    mac电脑Git提交代码到Github提示git-credential-osxkeychain 验证解决方案 参考文章: (1)mac电脑Git提交代码到Github提示git-credential- ...

  4. 【Intellij IDEA系列】IDEA使用git提交代码流程

    git提交代码流程 注意事项: (1)修改文件之前,一定要先git pull,保证修改的是最新的版本; (2)git push之前一定要先git pull,因为可能别人修改相同的文件并已commit, ...

  5. git提交代码报错解决方法 Git-remote Incorrect username or password ( access token )

    git提交代码的时候报错 $ git push origin ionic-001 remote: Incorrect username or password ( access token ) fat ...

  6. git提交代码到码云

    日常代码一般提交到github比较多,但我还是钟爱马爸爸,没错就是码云. 码云是中文版的代码托管的网站,不存在打开网速问题,使用也蛮方便的,日常自己保存托管代码已经足够,平时使用git提交代码到码云是 ...

  7. IDEA使用git提交代码时,点了commit之后卡死在performing code analysis部分,或者performing code analysis结束后没有进入下一步操作。

    IDEA使用git提交代码时,点了commit之后卡死在performing code analysis部分,或者performing code analysis结束后没有进入下一步操作. 版权声明: ...

  8. Git Bash基本命令,Git提交代码到GitHub,GitHub获取代码到本地

    Git简介,GitHub与Git区别,Git与SVN区别:Git简介 Git与GitHub区别和关系 Git官网下载(国内超慢):Git官网下载 Git淘宝镜像(下载非常快):Git淘宝镜像 推荐Gi ...

  9. repo/git提交代码

    Repo每个的工程下每个目录下都有一个git仓库,可以在每个目录的git仓库下执行git各种命令. 一.从服务器clone代码 1.初始化repo仓库 # repo init -u http://xx ...

最新文章

  1. 地图样式自定义_干货在线 | ArcGIS中定义图框样式
  2. 面试两个星期来的一点体会
  3. [SPDK/NVMe存储技术分析]012 - 用户态ibv_post_send()源码分析
  4. 进程调度算法Java代码
  5. 那些常见的C++、Qt基础面试题
  6. 神经网络和深度学习-第二周神经网络基础-第四节:梯度下降法
  7. cuSPARSE库:(一)函数的异步执行
  8. io.jsonwebtoken.ExpiredJwtException jwt令牌过期
  9. cocos 动画系统
  10. 网络切片技术缺点_5G中网络切片研究的现状与挑战
  11. 微软Azure云服务故障超过24小时,原因竟是——被雷劈了
  12. ubuntu安装ulipad
  13. 敏感词库 包含中英文
  14. 解决 批处理 for 体内的字符串截取问题
  15. C语言符号优先级——(“++”符号的的坑)
  16. 一次网络丢包问题排查的经历
  17. PyTorch深度学习(B站刘二大爷)第八讲作业——Kaggle网站泰坦尼克号Titanic
  18. Alfred Workflow教程与实例
  19. org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException:
  20. QT软件版本更改步骤

热门文章

  1. echarts水波球特效(附带外边框进度条)
  2. 关于LocalDate、LocalTime、LocalDateTime
  3. OpenStack部署及创建云主机实例
  4. 剖析环境加密与文档加密
  5. 1002 写出这个数 (C语言实现)
  6. 百度与虚假广告的博弈
  7. Python中的各种占位符
  8. STM32串口中断接收实验
  9. 挂件巡检机器人_最近DIY的室内巡检机器人
  10. DRN: A Deep Reinforcement Learning Framework for News Recommendation学习