Git branches and tags

Branches

The list of repository branches is shown at the Branches tab of the git repository browser.

To search for branches, click on the magnifying glass icon and enter the name of the branch. 

Here are the common functions you can perform on the selected branch.

  1. Compare branches
    Click Compare to compare branches and tags. For details, refer to the Compare branches and tags section below.

  2. Add pull requests
    Click Add to add a pull request. For details, refer to the Pull request support article.

  3. Delete
    To delete a branch, click X in the branch list. A dialog box asking you to confirm the deletion will pop up. Select OK to proceed or Cancel to cancel the action. 

Did you know?

  • You will not be able to undo the Delete action.
  • Main branch cannot be deleted.

Tags

The list of repository tags is shown at the Tags tab of the repository browser.

To search for tags, click on the magnifying glass icon and enter the name of the tag.

Below is the common function you can perform on the tags:

  1. Compare Tags
    Click Compare to compare branches and tags.

Compare branches and tags

You can access the “Compare branches/tags” function from the Branches or Tags tabs by clicking Compare on the selected branch or tag.

At the comparison page, select branches or tags from the dropdown menus to compare their commits and files.

Commits

The Commits tab shows the commit differences between the selected branches/tags.

Files

Click on Files to view the file differences between the selected branches/tags.

1 people think that it is helpful. Was this helpful for you?

Have a question we didn't answer?

Contact support