[英]Git remote: Repository not found for https, after setting up for another account with ssh
I'm using https
for my work git private repo. 我在工作git 私人仓库中使用
https
。 Yesterday I followed this along with git instructions to set up for my personal account on the same machine with ssh. 昨天,我按照git的说明进行了此操作,并使用ssh在同一台计算机上设置了我的个人帐户。 It worked fine, but today I'm trying to
pull
from work repo and getting following: 它工作正常,但是今天我试图
pull
工作仓库,并关注以下内容:
remote: Repository not found.
fatal: repository 'https://github.com/Divorcemate/cloud2016.git/' not found
My coworkers have to problem pulling. 我的同事不得不拉扯问题。 I don't see any change when
git config --list
which could have caused this. 我在
git config --list
时看不到任何变化,这可能是造成此问题的原因。 As well I tried removing the origin from config
file and adding with git remote add origin
and it didn't help. 同样,我尝试从
config
文件中删除原点,并使用git remote add origin
,但这没有帮助。
When I look at your Github user page it says: 当我查看您的Github用户页面时,它说:
Divorcemate doesn’t have any public repositories yet.
Are you sure that the repository cloud2016
is public? 您确定存储库
cloud2016
是公共的吗? HTTPS is unauthenticated/anonymous on Github. HTTPS在Github上未经身份验证/匿名。 Didn't you perhaps have a
git@github.com/Divorcemate/cloud2016.git
before this happened in your remote? 在您的遥控器发生这种情况之前,您也许没有
git@github.com/Divorcemate/cloud2016.git
吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.