blog

git pull を使ってコードを pull する場合: 現在のブランチの追跡情報がない。

問題の説明: gitpull を使ってコードを pull すると、プロンプトが次のように表示されます:...

Jan 20, 2020 · 1 min. read
シェア

問題の説明: 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> develop

解決方法

解決方法

説明:方法 1: pull するブランチを指定できます:
git pull origin develop

方法2: または、セットアップ、ブランチの追跡、プルの順に行います:

git branch --set-upstream-to=origin/develop develop
git pull
Read next

例で学ぶLua言語(3)-Luaデータ構造

Luaにはテーブルという基本的なデータ構造しかなく、配列やクラスなど他のデータ構造はすべてテーブルとして実装することができます。

Jan 18, 2020 · 3 min read