【问题记录】IDEA git使用:更新代码时提示:Can't update: no tracked branch
Can't update: no tracked branch... 是因为git不知道要从哪个远程分支更新代码,所以需要设置一下
git branch --set-upstream-to=<remote name>/<branch name> <local branch name>
例如:git branch --set-upstream-to=origin/master master
解决问题原文
https://blog.csdn.net/littleboyandgirl/article/details/82314246
xsshu