[英]Why I can't update my master branch of my repository [on hold]
This repo is in private but I have added a collaborator in it so both of us work in this specific project
这个 repo 是私人的,但我在其中添加了一个合作者,所以我们都在这个特定的项目中工作
I have this issue like if I issue---我有这个问题,就像我发出——
> git add.
the files are still untracked..文件仍然未跟踪..
what could be the possible error可能的错误是什么
when I do like git pull
当我喜欢
git pull
remote: Repository not found.远程:未找到存储库。
Do it:这样做:
Remove the remote origin删除远程源
git remote rm origin
Re-add the origin but with your username and password with writing privileges on this private repo重新添加来源,但使用您的用户名和密码,并在此私人仓库上具有写入权限
git remote add origin https://USERNAME:PASSWORD@github.com/username/reponame.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.