No remotes/origin/HEAD with gitlab

前端 未结 3 1496
心在旅途
心在旅途 2021-01-06 04:47

I\'m pretty new to git, but I\'ve been playing around with it on a remote server I set up and I\'m pretty sure that I understand the basics.

I just set up gitlab and

3条回答
  •  忘掉有多难
    2021-01-06 04:53

    You can set it by command git remote set-head origin -a, which automatically set origin/HEAD to point to appropriate remote branch. Or using git remote set-head origin to specify a remote branch to point.

    Also see: https://stackoverflow.com/a/8841024/1851492

提交回复
热议问题