私のアカウントには、どこからもフォークされていないレポがあります。しかし、ブランチの 1 つで 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> mybranch
することgit branch --set-upstream-to=origin/mybranch mybranch
で問題が解決しました。
しかし、これは とどう違うのgit remote add upstream URL
でしょうか?
どんな提案もありがたく受け取った。前もって感謝します。