搜索

450

主题

660

帖子

4898

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
4898
QQ
发表于 2021-12-16 13:35:24 1733 浏览 0 回复

You asked to pull from the remote 'gitlab'


执行git pull gitlab提示如下错误:
  1. tangh@xy02:/a2/tangh/LA.UM.7.6.2.r1-09500-89xx$ git pull gitlab
  2. You asked to pull from the remote 'gitlab', but did not specify
  3. a branch. Because this is not the default configured remote
  4. for your current branch, you must specify a branch on the command line.
复制代码

解决办法:

  1. Edit your .git/config

  2. [branch "master"]
  3.   remote = origin
  4.   merge = refs/heads/master
复制代码





手机微信同号:13682654092
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表