funny refname error when creating a new remote branch

余生颓废 提交于 2019-12-03 10:56:17

In the Target Ref Name, probably you have to add refs/heads:

refs/heads/name_of_your_new_branch

In your specific case:

refs/heads/workingBranch

(at least, it is the way with Bitbucket - egit, the Eclipse plugin for Eclipse)

I find it a litle bit silly that EGit expects something like V0.0.1 when you create a Tag (placing the tag to /refs/tags/V0.0.1 location in the local repository) and it expects to provide the refname like /refs/tags/V0.0.1 when you push the Tag into the remote repository

For what it is worth we just had this issue - we are using VS2013 and creating a branch with /refs/heads/ gave an error. We ended up downloading Source Tree from Atlassian (we are using Stash to house our code). This showed an "uncommited change" which was the DesignTimeResolveAssemblyReferencesInput.cache file being altered - something VS2013 was doing. We undid this change and created a new branch, and this solved the problem.

Hopefully this will point somebody in the right direction if the above methods do not work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!