Git拉取代码报错:Can't Update No tracked branch configured for branch dev or the branch doesn't exist.To make your branch track a remote branch call
错误:

解决方法:
第一步:
git pull origin(远程仓库名称) develop(远程分支名称) --allow-unrelated-histories
第二步:
git branch --set-upstream-to origin(远程仓库名称)/develop(远程分支名称) dev(本地分支名称)
显示如下则为成功,可正常拉取代码


浙公网安备 33010602011771号