jks部署服务报错

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

解决方案

在jks上删除该项目的git资源目录,重新部署clone代码正常