Check out a new branch tracking a remote branch

suggest change

There are three ways of creating a new branch feature which tracks the remote branch origin/feature:

To set the upstream of an existing local branch:

<remote> is a remote name such as origin. <remote>/<branch> is the upstream branch. The final <branch> is the local branch; omit it to use the current branch.

To verify which remote branches your local branches are tracking:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents