...

/

Tracking Remote Branches With Different Names

Tracking Remote Branches With Different Names

Learn how to track remote branches that have different names from local branches.

Tracking a branch

More rarely, you may want to track a branch on the remote repository that has a different name. Or you may want to manually mark the local branch as tracking a specific remote one.

In these situations, you might see this kind of error when you push:

1	git push
Access this course and 1400+ top-rated courses and projects.