Git push results in fatal: protocol error: bad line length character: This

后端 未结 21 1083
春和景丽
春和景丽 2020-11-28 10:56

I am trying to get GitLab working on my server (running CentOS 6.5). I followed the gitlab-receipe to the line, but I just can\'t get it working. I am able to access the web

21条回答
  •  误落风尘
    2020-11-28 11:43

    Just adding a possible solution to others in my situation. In my case I was trying to push a tag.

    git push heroku MYTAG:master
    

    It wasn't until I dereferenced the tag that it worked

    git push heroku MYTAG^{}:master
    

    You can read more about it here: What does ^{} mean in git?

    ^{}, e.g. v0.99.8^{}

    A suffix ^ followed by an empty brace pair means the object could be a tag, and dereference the tag recursively until a non-tag object is found.

提交回复
热议问题