View File/Repository History

Use the Git page's Logs view to see the history of commits, branches, and merges of a file or Git repository and its revisions.

  1. From the Repositories drop-down list, select the Git repository. From the Revisions the Revisions icon menu, select the branch.

  2. To view the commit history of a file, browse to and open the file.

    Skip this step to view the commit history of the selected Git repository.

  3. On the right side of the page, click Logs.

Action How To

View the commit history in a list format

In the Logs view, click the History List List toggle toggle button.

To view the history of another branch or tag, in the text box to the right of the History Branch toggle toggle button, enter branch or tag names. You may also click the text box and select the revisions from the drop-down list. You can add multiple branches or tags. To view the history of all revisions of the selected Git repository, remove all revision names from the text box.

View the commit history as a graph

In the Logs view, click the History Graph Graph icon toggle button.

In the graph:

  • Each dot represents a commit.

    To see the details of the commit, click the dot.

  • A splitting line represents a branch.

  • Joining lines represent a merge.

  • Latest commits appear at the top of the graph.