I would like to know which is the git command line giving informations about tracking branch ?
I have an integration branch which track the origin/integration ( git branch --track integration origin/integration
) but i want to be sure and check the connection between the local tracking branch and the remote tracking branch...
I know the git remote show origin
. But if i'm not online...?
Thanks by advance,
You can do git branch -a
to see that. Or just do git config -e
to see the config, which the source of truth.
And also, git remote show origin -n
uses cached information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.