git更新pull报错Pulling 1 repository Remote does not have refs/heads/rel5.1 available for fetch

更新分支的时候,报如下图错误:

git更新pull报错Pulling 1 repository Remote does not have refs/heads/rel5.1 available for fetch

原因:分支被删除,拉取失败(注意:以后用哪个分支就clone哪个分支,不要把所有的分支都clone

解决办法:如下图:选中应用工程右键-Team-Remote-Fetch From...-Finish-configure-选中要删除的分支路径,点击右侧的Delete-save and fetch

git更新pull报错Pulling 1 repository Remote does not have refs/heads/rel5.1 available for fetchgit更新pull报错Pulling 1 repository Remote does not have refs/heads/rel5.1 available for fetch