llms.txt: machine-readable documentation index. Markdown version of this page is also available.

JetBrains Air Help

Browse Git history

The History tool is where you look back. It shows the commit log starting from the task branch, where every agent turn adds a commit, so you can find the point you care about and compare it with what you have now.

The History tool with Pull and Push buttons, a commit search field, branch and user filters, and the commit graph

Find a commit

  • In the History tool, type a message or a hash in the Search commits field.

Filter by branch, author, or path

  • Use the branch and User selectors to filter the list. To show only the commits that touched a path, click the filter icon.

View the history of one file

  1. Open the file in the editor, or select it in the Files tool.

  2. Right-click it and select Git | File History, or press Ctrl+Shift+G Ctrl+Shift+H.

Compare a commit with your code

Select a commit to see which files it changed and review the diff.

View file diffs for a commit

  1. In the History tool, select a commit in the list.

  2. Select a file. The diff for the selected file opens.

Compare with the current branch

  1. In the History tool, right-click a commit.

  2. Select Compare with Current Branch.

Show diff with the working tree

  1. In the History tool, right-click a commit.

  2. Select Show Diff with Working Tree.

Copy a revision number

  • In the History tool, right-click the commit and select Copy Revision Number.

From the same right-click menu you can also check out a commit, start a branch from it, or reset the current branch to it.

Compare a file with a branch or commit

Compare a file with another branch or commit

  1. Right-click the file in the editor or in the Files tool and select Git.

  2. Select Compare with Branch or Compare with Commit, and pick the branch or commit.

To see who last changed each line of the open file, right-click it and select Git | Toggle Git Blame.

06 November 2026