git pull 错误

来源:互联网 发布:闵行php开发培训学校 编辑:程序博客网 时间:2024/05/21 21:41

错误提示:

! [new branch] dev -> origin/dev (unable to update local ref)
error: some local refs could not be updated; try running
‘git remote prune origin’ to remove any old, conflicting branches

 

解决方法:

git gc --prune=now
git remote prune origin