我安装了。我想在以后的版本控制中使用它。问题是,我不能将它添加为Xcode中的存储库,也不能从命令行克隆它:Cloning into 'MyRepo'...warning: remote HEAD refers to nonexistent ref, unable to checkout.在Xcode中,我得到以下消息:
fatal: unable to access 'http://127.0.0.1
我正在尝试更改我在Git中的原产地分支的远程URL。我只想更改SSH端口。首先,列出我的远程起源给了我以下内容:
origin user@example.com:package/name.git (push)git remote set-url origin ssh://user@example.com:XX/package/name.git (XX is my port #)
现在,我可以在没有问题
git push https://github.com/YusupovSamandar/Pubg.git masterfatal: unable to access 'https://github.com/YusupovSamandar/Pubg.git/': The requested URL returned error: 403然后我用git confi
显示了以下命令:$ git rev-list HEAD ^origin$ git rev-list origin..HEAD fatal: ambiguous argument 'origin..HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command&g