尝试在我的本机项目中安装依赖项,但我不断收到此“''git pull <remote> <branch>”错误:

时间:2020-08-21 07:50:47

标签: reactjs git native

我正在尝试在我的本机项目中安装一个依赖项,但我不断收到此错误:

error Command failed.
Exit code: 1
Command: git
Arguments: pull
Directory: C:\Users\User\AppData\Local\Yarn\Cache\v6\.tmp\9ee0a27027db93fad58e8dddb6592fbc
Output:
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> master
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

我对git知之甚少。

目前,我不知道该怎么做。

0 个答案:

没有答案