git pull 错误

错误提示:

! [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

你可能感兴趣的:(git,git,git,pull,git,branch,origin)