git执行pull命令时,报错
2024-10-13 17:10:26
在图形界面中,执行拉取操作时,出现下面的错误。
You asked to pull from the remote 'origin', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.
解决办法:
Edit your .git/config
[branch "master"]
remote = origin
merge = refs/heads/master
Now you can simply git push and git pull.
参考地址:http://stackoverflow.com/questions/4847101/git-which-is-the-default-configured-remote-for-branch
最新文章
- mac下需要安装旧 Java SE 6 才能打开程序解决办法
- iOS不用调用,running time自动执行方法
- 【C#】让工具栏ToolStrip能触发焦点控件的Leave、Validating、DataError等事件以验证数据
- [VB.NET]取消按钮按下的默认事件响应
- c/c++常用代码--清空目录
- Membership添加验证码登录
- 【图解ASP.NET MVC运行机制理解-简易版】
- STC15?MSP430?ARM?DSP?
- Akka.NET是Java/Scala 流行框架Akka的一个 .NET 开源移植
- ITM事件直接接收并解析
- docker服务各个模块
- (Linux)动态度的编写
- MapReduce实现与自定义词典文件基于hanLP的中文分词详解
- TZOJ 4712 Double Shortest Paths(最小费用最大流)
- POI的简单使用
- 批处理-通过mono把c#编译成dll
- SQL语句中的output用法
- leetcode-849-到最近的人的最大距离
- WPF实战俄罗斯方块
- Python3.6+selenium3.8+Firefox5.7 环境搭建
热门文章
- [bzoj1911][Apio2010]特别行动队
- 【BZOJ-2618】凸多边形 计算几何 + 半平面交 + 增量法 + 三角剖分
- 【bzoj1408】 Noi2002—Robot
- 用Python写了个抓图小脚本
- C#用HttpClient抓取jd.com搜索框下拉数据
- 帝国cms栏目自定义字段首页调用
- AlsaInfo
- JSP+Servlet+JavaBean统计页面在线访问次数
- [转]vim编辑器---批量注释与反注释
- 【转载】C++中的基类与派生类