我今天已经做了几次 git pull,没有问题。我没有在本地更改或修改任何内容。
现在我又做了一次 git pull,突然得到了这个:
error: cannot lock ref 'refs/remotes/origin/task/DEV-2527/DEV-2535': 'refs/remotes/origin/task/DEV-2527' exists; cannot create 'refs/remotes/origin/task/DEV-2527/DEV-2535'
From https://dev.azure.com/xxx/xxx-web/_git/xxx-web
! [new branch] task/DEV-2527/DEV-2535 -> origin/task/DEV-2527/DEV-2535 (unable to update local ref)
Run Code Online (Sandbox Code Playgroud)
我尝试了“git gc”,但这没有帮助。
我读过“git remote prune origin”可能有帮助,但我不想做任何可能损坏 azure 远程存储库的事情。
| 归档时间: |
|
| 查看次数: |
6300 次 |
| 最近记录: |