在图形界面中,执行拉取操作时,出现下面的错误。

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

最新文章

  1. mac下需要安装旧 Java SE 6 才能打开程序解决办法
  2. iOS不用调用,running time自动执行方法
  3. 【C#】让工具栏ToolStrip能触发焦点控件的Leave、Validating、DataError等事件以验证数据
  4. [VB.NET]取消按钮按下的默认事件响应
  5. c/c++常用代码--清空目录
  6. Membership添加验证码登录
  7. 【图解ASP.NET MVC运行机制理解-简易版】
  8. STC15?MSP430?ARM?DSP?
  9. Akka.NET是Java/Scala 流行框架Akka的一个 .NET 开源移植
  10. ITM事件直接接收并解析
  11. docker服务各个模块
  12. (Linux)动态度的编写
  13. MapReduce实现与自定义词典文件基于hanLP的中文分词详解
  14. TZOJ 4712 Double Shortest Paths(最小费用最大流)
  15. POI的简单使用
  16. 批处理-通过mono把c#编译成dll
  17. SQL语句中的output用法
  18. leetcode-849-到最近的人的最大距离
  19. WPF实战俄罗斯方块
  20. Python3.6+selenium3.8+Firefox5.7 环境搭建

热门文章

  1. [bzoj1911][Apio2010]特别行动队
  2. 【BZOJ-2618】凸多边形 计算几何 + 半平面交 + 增量法 + 三角剖分
  3. 【bzoj1408】 Noi2002—Robot
  4. 用Python写了个抓图小脚本
  5. C#用HttpClient抓取jd.com搜索框下拉数据
  6. 帝国cms栏目自定义字段首页调用
  7. AlsaInfo
  8. JSP+Servlet+JavaBean统计页面在线访问次数
  9. [转]vim编辑器---批量注释与反注释
  10. 【转载】C++中的基类与派生类