git pull 报错 fatal: No remote repository specified. Please, specify either a URL or a remote name from which new revisions should be fetched. 解决办法
sonice发布于 2019-09-01 17:56:24
阅读 383

fatal: No remote repository specified. Please, specify either a URL or a remote name from which new revisions should be fetched. 这是服务器.git文件夹中的config配置有问题,修改一下文件就可以了。

输入图片说明

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true

[remote "origin"]
        url = 项目url
        fetch = +refs/heads/*:refs/remotes/origin/*
        pushurl =项目url
[branch "master"]
    remote = origin
    merge = refs/heads/master