加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

XML error: undefined entity

发布时间:2020-12-16 08:15:50 所属栏目:百科 来源:网络整理
导读:git 提交被拒,错误原因,通过http方式clone到本地。提交的时候服务端不支持http,只支持ssh方式,所以出现下面错误。 $ git push origin ****-eq50 XML error: undefined entity error: no DAV locking support on http********android/ fatal: git-http-pu

git 提交被拒,错误原因,通过http方式clone到本地。提交的时候服务端不支持http,只支持ssh方式,所以出现下面错误。

$ git push origin ****-eq50
XML error: undefined entity
error: no DAV locking support on http********android/
fatal: git-http-push failed
error: failed to push some refs to 'http******android/'

错误截图

解决方法:

查看push url方法

$ git remote show origin
* remote origin
Fetch URL: http******android/
Push URL: http******android/
HEAD branch: master

修改远程地址,重新设置remote地址即可

git remote set-url origin git@******android

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读