git使用采坑-The project you were looking for could not be found 解决方式

git使用采坑-The project you were looking for could not be found 解决方式

问题描述:使用git clone 项目,出现这个问题:The project you were looking for could not be found.git

缘由:gi t自动保存git密码的功能(本身在单位电脑用了码云和github作了仓库,估计起了冲突)github

解决方案一:.net

 git clone http://@git.coding.net/name/p...   ---- 失败get

添加远程地址的时候带上用户名及密码便可解决,格式以下:it

 git clone http://yourname:password@git.coding.net/name/project.git ---- 成功coding

解决方案二:密码

在本身的项目路径上加上本身的用户名,
例如:
Git clone http://git.coding.net/name/pr...  ----失败
Git clone http://git帐户名@git.coding.n... 而后再弹出的密码输入指令后面输入密码  ---- 成功项目

解决方案三:top

清除本地git帐户,从新输入用户名密码(最优)word

git config --system --unset credential.helper
以后再进行git操做时,弹出用户名密码窗口,输入便可

有问题,请留言!

相关文章
相关标签/搜索