I'd like to add a copy of a remote branch (origin/featureX
) to my local repository.
Therefore I generated a local branch featureX
and set it to track the given remote branch:
git branch featureX
git branch -u origin/featureX featureX
# Branch featureX set up to track remote branch featureX from origin.
Now is there a way to show this connection? I tried e.g. git branch -av
, but no connection between featureX
and remotes/origin/featureX
are shown.