Tower Icon

Tracking a branch

A local branch can "track" another (usually remote) branch. This sets up a default so the local branch knows which branch to push to and pull from. If a local branch tracks another branch, next to the branch name a badge shows how many commits the branch is ahead or behind its counterpart.

To track a branch

Perform one of the following actions:

  • In the Sidebar drag and drop the (presumably remote) branch you want to track onto "BRANCHES" or on a local branch.

  • In the Sidebar right-click the remote branch you want to track and select "Track This Branch..." from the contextual menu.

  • In the Sidebar right-click the local branch you want to track a remote branch and select "Add Tracking" from the contextual menu.

To untrack a branch

Perform the following action:

  • In the Sidebar right-click the local branch that you want to have no tracking and select "Remove Tracking" from the contextual menu.

NOTE:When creating a new branch in Tower you will find an option to directly set up a tracking in the corresponding dialog.

NOTE:When publishing a local branch you will find an option to directly set up a tracking in the corresponding dialog.


Related Topics

Creating a new branch

Publishing a local branch on a remote repository

Pulling from a remote repository

Pushing to a remote repository