git rev-parse --abbrev-ref --symbolic-full-name <branchname>@{u} Had to look it up yesterday. Then you need
git remote -v # or -vv to find out where that remote really is! - I have 10 remotes for variations of 'git' itself, including "my" which is my publish remote. On Wednesday, December 1, 2021 at 2:51:06 PM UTC skybu...@hotmail.com wrote: > It would be usefull if there was a command to see the tracking information > for the current branch, if any. > > Right now I am trying to figure out if any tracking is set for the local > branch to some kind of remote branch. > > There does not seem to be a command for it ? > > I know there are other commands to display all: git branch -vv > > However if the number of branches become very large, I may end up having > to search through such a list. > > Displaying such a huge list also distracts from the rest of the git > command flow. > > So something more tiny would be appreciated. > > Bye for now, > Skybuck. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/56540eb6-ed1b-4701-a69c-03dea549f38an%40googlegroups.com.