【发布时间】:2017-12-21 19:27:47
【问题描述】:
我正在尝试在我的 Ubuntu 客户机上的当前分支上创建一个分支。 不幸的是,我不断收到此错误:
git checkout -b origin/feature/IF-53-change-validation-window/Tommaso
fatal: cannot lock ref 'refs/heads/origin/feature/IF-53-change-validation-window/Tommaso':
'refs/heads/origin/branch' exists;
cannot create 'refs/heads/origin/branch/Tommaso'
我按照此处link 的建议尝试了git gc --prune=now,但仍然出现同样的错误。
【问题讨论】:
标签: git git-branch git-checkout