Git推送问题,无法从远程存储库读取

时间:2019-02-25 12:32:56

标签: git nas

我们正在使用git将我们的项目存储在我们自己服务器上的存储库中。最近,我们用NAS替换了Windows服务器。从那时起,我们就遇到了将某些项目推入git的问题(其他项目工作得很好)。 Config看起来像:

[core]
        repositoryformatversion = 0
        filemode = false
        bare = false
        logallrefupdates = true
        symlinks = false
        ignorecase = true
        hideDotFiles = dotGitOnly
    [remote "origin"]
        url = R:\\C32\\LH-5000 Cleaner FS
        fetch = +refs/heads/*:refs/remotes/origin/*
        puttykeyfile = ""
    [branch "master"]
        remote = origin
        merge = refs/heads/master

我在尝试推送时收到的错误消息是:

git.exe push -v --progress "origin" master:master
Pushing to R:\C32\LH-5000 Cleaner FS
fatal: 'R:\C32\LH-5000 Cleaner FS' does not appear to be a git repository  
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git did not exit cleanly (exit code 128) (297 ms @ 2/25/2019 1:22:52 PM)    

我看不到可推送项目和无法推送项目的配置文件中的任何区别。我还确定我要推送的路径存在并且我有权访问它。我正在访问的存储库是空的。

有什么建议吗?提前非常感谢!

0 个答案:

没有答案