如何解决git 无法推送现有存储库 'remote-httpshttps' 不是 git 命令
无法将现有的 git 存储库推送到远程。
以前没有发生过。我已经尝试安装最新版本的 git 但仍然无法推送。
git push --set-upstream origin master
git: 'remote-httpshttps' is not a git command. See 'git --help'.
解决方法
不知道为什么..... 我关闭了 git bash,然后打开了一个新的。然后就修好了:(
,如果您有远程存储库的 HTTPS URL,请先尝试:
git remote set-url origin https://url/of/remote/repository
然后再试一次 git push -u origin master
。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。