As of this writing, the command git pull
provides the answer. When I try to git pull
without any further arguments, it provided me the following information:
rockyinde.desktop% git pull
remote: Counting objects: 143, done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 143 (delta 75), reused 87 (delta 23)
Receiving objects: 100% (143/143), 29.59 KiB | 0 bytes/s, done.
Resolving deltas: 100% (75/75), completed with 33 local objects.
From ssh://git.rockyinde.com:<port>/code/myproject
2d232ds..1hw1f84 frontline -> rockyremote/frontline
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=<remote>/<branch> develop
So, all you need to be looking at (in the above output) is:
From ssh://git.rockyinde.com:<port>/code/myproject
2d232ds..1hw1f84 frontline -> rockyremote/frontline
which specifies your remote
/branch
information. And so, in my case it is:
git pull rockyremote frontline