美文网首页
git pull Repository not found.

git pull Repository not found.

作者: 吉凶以情迁 | 来源:发表于2021-05-11 11:58 被阅读0次

    解决办法如下图。

     git credential-manager uninstall
    git credential-manager install
    

    原理是清除记住的密码,重新输入密码。但是not found给人的错觉就是仓库不存在,真是莫名其妙
    下面是探索过程。

    git.exe pull --progress -v --no-rebase "origin"
    

    remote: Repository not found.

    fatal: repository 'https://github.com/qssq/XposedInstallerPuppetManager.git/' not found

    image.png

    分别是卸载和重新安装密码管理器,
    执行后一共是对配置文件进行了修改。


    image.png

    执行卸载其实就是把gitconfig进行了更新,


    image.png
    Looking for Git installation(s)...
      C:\Program Files\Git
    
    Updated your /etc/gitconfig [git config --system]
    Updated your ~/.gitconfig [git config --global]
    
    Removing from 'C:\Program Files\Git'.
      removal failed. U_U
    
    Press any key to continue...
    

    本文并非原创,不过是我验证可用的方法。

    相关文章

      网友评论

          本文标题:git pull Repository not found.

          本文链接:https://www.haomeiwen.com/subject/admgdltx.html