<问题解决02>Linux虚拟机使用git push报错--解决方案如下:

问题描述:

  使用git push 报错:  

  error: The requested URL returned error: 403 Forbidden while accessing https://github.com/Newlyfly/Hello_World.git/info/refs

  fatal: HTTP request failed

解决方案:

  解决方案来源博客地址:http://blog.csdn.net/happyteafriends/article/details/11554043

 

  vim .git/config

  修改

  1. [remote "origin"]
  2. url = https://github.com/Newlyfly/Hello_World.git

  为:

  1. [remote "origin"]
  2. url = https://[email protected]github.com/Newlyfly/Hello_World.git

  再次git push,弹出框输入密码,即可提交

时间: 2024-07-30 03:23:56

<问题解决02>Linux虚拟机使用git push报错--解决方案如下:的相关文章

工具-github在linux下面没有git push报错

time: 2015/12/25 1. 描述: error: The requested URL returned error: 403 Forbidden while accessing https://github.com ... 2. 吐槽: 在网上随便一搜一大堆的都是各种拷贝,说把.git/config下面的["origin"]下面的url改一下,如下所示 [remote "origin"] url = https://github.com/username

git push报错error: failed to push some refs to &#39;[email&#160;protected]:

$ git push -u origin master To [email protected]:xxx/xxx.git ! [rejected] master -> master (fetch first) error: failed to push some refs to '[email protected]:xxx/xxx.git' hint: Updates were rejected because the remote contains work that you do hint:

git push 报错:failed to push some refs to &#39;[email&#160;protected]:devops/thor.git&#39;

error: failed to push some refs to '[email protected]:devops/thor.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing

git push 报错

git push报错误: Git push error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal 从stackoverflow 找到的答案,解决问题 http://stackoverflow.com/questions/15240815/git-fatal-the-remote-end-hung-up-unexpectedly http://stackoverf

mac系统idea开发工具git -push 报错:no matching host key type found. Their offer: ssh-dss

原因: 根本原因之所以报错是因为OpenSSH7.0以后的版本不再支持ssh-dss(DSA)算法,官方的说法是这个算法太弱了.MACOS升到10.12附带的openssh版本是7.4,如下:?~sshd-Vsshd:illegaloption--VOpenSSH_7 解决方案: 命令行里添加选项 ssh -oHostKeyAlgorithms=+ssh-dss [email protected] 添加 HostKeyAlgorithms +ssh-dss到配置 ~/.ssh/config 原文

Git push 报错 &quot;error: failed to push some refs to &quot; 解决

之前一直好好地啊,google后,发现是由于远程仓库中代码版本与本地不一致冲突导致的. 突然想起来,确实我在云端直接改过README,解决方法,先pull,再push,然而这时候又出现了新的问题, error: Your local changes to the following files would be overwritten by merge: Please, commit your changes or stash them before you can merge. 这时候我想用云

git push报错:error: RPC failed; result=22, HTTP code = 413

新项目推送到服务器时报错: error: RPC failed; result=22, HTTP code = 413| 7.66 MiB/s    fatal: The remote end hung up unexpectedly 查了下,属于项目中有大文件,而http推送限制造成的,需要修改服务器配置.因为git服务器是通过nginx做反向代理之后实现的,因此需要修改nginx和appache(git服务器): 1.nginx服务器配置:/etc/nginx/conf.d/default.

git提交报错SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

git push报错 git push origin master [email protected] /e/git/ouyida3/ouyida3.github.io (master) $ git push origin master fatal: unable to access 'https://github.com/ouyida3/ouyida3.github.io.git/': err or:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tl

TortoiseGit Push报错 “Couldn&#39;t load this key(unable to open file)” 解决

TortoiseGit 在push时总报"Couldn't load this key(unable to open file)"的错误,导致无法提交 解决方案: 打开工程git目录下的config文件,发现私钥文件的路径的错误的 重新指定一下即可. TortoiseGit Push报错 "Couldn't load this key(unable to open file)" 解决 原文地址:https://www.cnblogs.com/beeasy/p/835