无法将现有的 git 存储库推送到远程。
以前没有发生过。我已经尝试安装最新版本的 git 但仍然无法推送。
git push --set-upstream origin master
git: 'remote-httpshttps' is not a git command. See 'git --help'.
无法将现有的 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
。