首页 > 其他 > 详细

错误记录 git pull

时间:2015-11-04 13:15:44      阅读:255      评论:0      收藏:0      [点我收藏+]

在安装open-falcon的nodata组件,更新库的时候,git pull 报错:

You are not currently on a branch, so I cannot use any
‘branch.<branchname>.merge‘ in your configuration file.
Please specify which branch you want to merge with on the command
line and try again (e.g. ‘git pull <repository> <refspec>‘).

解决办法:

首先git checkout -b temp

其次git checkout master

即可恢复到master repository的状态,然后就可以pull了

错误记录 git pull

原文:http://www.cnblogs.com/langdashu/p/4935561.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!