问题:git push时,出现fatal: No configured push destination.

PS D:\2022\03\forum> git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, usegit push --set-upstream origin masterPS D:\2022\03\forum>--mirror[=(push|fetch)]set up remote as a mirror to push to or fetch from

原因:推送至远程仓库时,缺少目标仓库地址

解决方法:
1、添加远程仓库地址:

 git remote add origin https://github.com/**/*.git

2、 推送本地代码至远程仓库分支

git push -u origin master

解决fatal: No configured push destination.相关推荐

  1. fatal: No configured push destination

    异常描述 $ git push fatal: No configured push destination. Either specify the URL from the command-line ...

  2. Android解决NDK not configured问题

    Android解决NDK not configured问题 参考文章: (1)Android解决NDK not configured问题 (2)https://www.cnblogs.com/chen ...

  3. 解决pip is configured with locations that require TLS/SSL问题

    解决pip is configured with locations that require TLS/SSL问题 参考文章: (1)解决pip is configured with location ...

  4. 成功解决Fatal error in launcher: Unable to create process using ‘“f:\program files\python\python36\pytho

    成功解决Fatal error in launcher: Unable to create process using '"f:\program files\python\python36\ ...

  5. python3.7 pip安装_python3.7安装, 解决pip is configured with locations that require TLS/SSL问题...

    python3.7安装, 解决pip is configured with locations that require TLS/SSL问题 1.安装相关依赖 yum install gcc libf ...

  6. python3.7安装, 解决pip is configured with locations that require TLS/SSL问题

    python3.7安装, 解决pip is configured with locations that require TLS/SSL问题 1.安装相关依赖 yum install gcc libf ...

  7. 成功解决Fatal error in launcher: Unable to create process using ‘“…python.exe“ “…jupyter.exe“ notebook‘

    成功解决Fatal error in launcher: Unable to create process using '"f:\program files\python\python36\ ...

  8. ubuntu + eigen3 安装(解决 fatal error: Eigen/Core: No such file or directory)

    ubuntu + eigen3 安装(解决 fatal error: Eigen/Core: No such file or directory) 转载链接:https://www.cnblogs.c ...

  9. java fatal exception_如何解决FATAL EXCEPTION:pool-4-thread-1错误?

    我有一个工作得很好的应用程序,但有时候我在程序中添加了一些类和代码,导致我的应用程序崩溃.在我logcat错误是这样的:如何解决FATAL EXCEPTION:pool-4-thread-1错误? F ...

  10. 解决fatal:You can‘t push to git://github.com/username/*.git

    在本地git仓库写完代码后,利用 git push 命令提交到远程仓库时,总是出现如下报错: 不能将代码上传到远程仓库 解决办法: git remote rm origin git remote ad ...

最新文章

  1. 我也来谈谈时间管理方式及工具
  2. hive - 自定义函数(超详细步骤,手把手的交)
  3. 1018.eclipse工具使用记录
  4. 带有Angular 11前端的ASP.NET Core微服务
  5. Linux 线程控制
  6. 阅读gulp源码小结
  7. 绝缘栅型n沟道场管_mos的种类有哪些?mos管分类及区别解析
  8. Android 9.0/P 开发问题及解决方案汇总
  9. python工资这么高为什么不学-人人学Python,为什么就业拿高薪的那么少?
  10. linux 欢迎信息
  11. 火狐翻译插件_阅读外文必备,浏览器实用的翻译插件推荐
  12. Spring Cloud 微服务架构图
  13. 【VOIP】 yate源码编译和部署
  14. python 期货程序化_文华财经程序化以外,Python量化是更好的选择
  15. 0-glusterfs: failed to set volfile server: File exists
  16. wordpress原生html5播放器,让WordPress自带html5播放器-视频播放器调用代码详解,支持ios...
  17. 上传图片格式一句话木马
  18. 执着于音,一起开启Fidelio音乐之旅
  19. oppo系统工程师暑期实习生面经(已OC)
  20. echars基本使用

热门文章

  1. php 开源企业网站,TayCMS 免费开源企业网站建站系统 For PHP v1.8
  2. 【全志V3s / LicheePi Zero / 荔枝派】Air724合宙4G模块RNDIS拨号
  3. ubuntu20.04上编译android 7.1
  4. 【C语言】贪吃蛇小游戏代码详解
  5. B站视频下载:如何下载B站视频到电脑上
  6. 移动硬盘访问错误 - 磁盘结构损坏且无法读取、拒绝访问
  7. 程序员必备:那些实用的Chrome扩展程序
  8. 网络营销:信任是流量时代的蓝海
  9. 在线DES加密解密、DES在线加密解密、DES encryption and decryption
  10. 域名交易的信息差,原来还可以这样赚钱