在Git中将网络共享路径配置为远程存储库时无法拉或推。 [英] Not able to pull or push when a network share path is configured as remote repository in Git.

查看:132
本文介绍了在Git中将网络共享路径配置为远程存储库时无法拉或推。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题 - 当我尝试将网络文件共享配置为远程存储库时,我无法推送和从远程和本地存储库中提取更改。我只是设法将存储库从远程克隆到本地。每当我推或拉时,它会显示以下错误消息 -



**致命:无法从远程存储库中读取。



请确保您拥有正确的访问权限并且存储库已存在。**



我的远程存储库地址如下所示 - \ \ 192.xxx.x.50 \ GitRemote \



您能帮忙解决这个问题吗?如果我能提供更多信息,请告诉我。



注意:当我在同一台机器(本地文件系统)中有远程存储库时,它可以正常工作。 div class =h2_lin>解决方案

Problem – When I try to configure network file share as remote repository, I was unable to push and pull the changes to and from remote and local repositories. I am only managed to clone the repository from remote to local. Whenever I does push or pull, it shows the following error message –

**fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.**

My remote repository address looks like this – "\\192.xxx.x.50\GitRemote\"

Can you please help to resolve this issue? Please let me know if I can provide more information.

Note: When I have remote repository in the same machine (local file system) then it works perfectly fine.

解决方案

这篇关于在Git中将网络共享路径配置为远程存储库时无法拉或推。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆