Can't update: no tracked branch No tracked branch configured for branch dev.

Posted 随笔

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Can't update: no tracked branch No tracked branch configured for branch dev.相关的知识,希望对你有一定的参考价值。

1.git pull 命令出现以下错误

$ git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> dev

2.按照提示设置

git branch --set-upstream-to=origin/dev

3.再 git pull 时提示成功

$ git pull
Already up-to-date.

 

以上是关于Can't update: no tracked branch No tracked branch configured for branch dev.的主要内容,如果未能解决你的问题,请参考以下文章

IDEA新建项目提交到git仓库时报错:Can't Update No tracked branch configured for branch master or the branch...

You can't specify target table 'Person' for update in FROM clause

update mysql row (You can't specify target table 'x' for update in FROM clause)

170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device

You can't specify target table '表名' for update in FROM clause”解决方法

You can't specify target table 't_mail_marketing' for update in FROM clause