Your configuration specifies to merge with the ref
来源:互联网 发布:mac pro 待机时间 编辑:程序博客网 时间:2024/06/10 17:22
cocoaPod创建私有库,把所有组件放到一个私有库时,再在主项目引用这个私有库,git pull时出现以下问题。
报错信息如下:
Your configuration specifies to merge with the ref 'refs/heads/feature/reBuildNJProj'
from the remote, but no such ref was fetched.
上网搜了一下问题,有的说是可以修改git的配置文件,增加一个master即可,发现并不是这个原因导致的。
正确的解决办法:
找到git的配置文件,
打开.git隐藏文件夹,查看./git目录里的config文件,文件位置如上图所示,发现下面红框的地址被篡改了。改回项目的正确地址即可。红框的地址和你项目所在的地址比较一下,看看是否一样即可。
再运行git pull就正常了。
0 1
- Your configuration specifies to merge with the ref
- git pull 报错:Your configuration specifies to merge with the ref 'master'from the remote
- Your configuration specifies to merge with the ref 'br03' from the remote, but no such ref was fetch
- Your configuration specifies to merge with the ref 'refs/heads/master' from the remote, but no such
- How To Test your Firewall Configuration with Nmap and Tcpdump
- Script to merge configuration file
- [Exception]SEVERE: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig
- [Exception]Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig
- A configuration error occurred during startup.Please verify the preference field with the prompt: To
- A configuration error occurred during startup.Please verify the preference field with the prompt: To
- Error pulling origin: error: Your local changes to the following files would be overwritten by merge
- Git pull error:Your local changes to the following files would be overwritten by merge解决方法
- Error pulling origin: error: Your local changes to the following files would be overwritten by merge
- Git pull error: Your local changes to the following files would be overwritten by merge:
- git使用error: Your local changes to the following files would be overwritten by merge:
- error: Your local changes to the following files would be overwritten by merge:
- Your local changes to the following files would be overwritten by merge
- error: Your local changes to the following files would be overwritten by merge
- Unity3D用什么语言开发好?用什么开发工具?
- STM32的复用功能——时钟输出(MCO)
- 播放器的基本原理
- GMON 思维导图二 - 网络安全架构
- MacOS下对postgresql的简单管理操作
- Your configuration specifies to merge with the ref
- mongotemplate mongodb的各种操作 模糊查询 精确查询 等等
- ubuntu 设置IP,设置网关
- ios系统比例
- Android使用弹出式对话框
- 一个微信创业的猛点子,你敢做吗?
- jupyter notebook下提示Couldn't open CUDA library libcudnn.so的解决办法
- 微信小程序之目前为止史上最全的微信小程序项目实例, 微信小程序实战学习
- OpenCV3.0 Examples学习笔记(10)-grabcut.cpp-grabcut函数实现人机交互高效分割图像前景背景