History
A repository's History shows its commits as a graph, newest first, with every branch, remote branch and tag.
It's the tab a repository opens in.
Read the graph
- Each branch has its own lane and colour; the commit you're on is ringed.
- Chips on a commit name the branches and tags at it: yours first, in bold, then remote branches, and tags outlined.
Past two chips, +3 says how many more. - With uncommitted changes, the first row reads 3 changed files; choose it to bring the Git view forward.
- The columns are Branch or tag, Graph, Message, Author and Date.
History reads 2,000 commits at a time, and more as you scroll.
↑ and ↓ move from commit to commit.


To jump to a branch or tag, choose it under Branches or Tags in the Repository view: History shows its commit.
Find a commit
Type in Filter: author, path, message at the top of History.
It finds commits by their message, their author's name or email, their commit id, the branches and tags at them, and the paths of the files they change.
The toolbar
| Button | What it does |
|---|---|
| Undo commit | Takes back the last commit, keeping its changes staged. See Changes and commits. |
| Fetch, Pull, Push | Keep in step with your remote. See Fetch, pull and push. |
| Branch | Makes a new branch at the commit you're on, and switches to it. See Branches and tags. |
| Stash | Puts all your changes away. See Stashes, worktrees and submodules. |
| Terminal | Opens a terminal in the repository's folder. See Terminal and command log. |
When the window is narrow, the buttons that don't fit move into More actions.
A commit's details
Choose a commit, and the Commit view on the right shows it:
- its message, with links to issues, pull requests and work items shown as chips once you're signed in to their host;
- its author, with a picture, and when it was written; and who committed it, when that's someone else;
- whether it's signed: verified against the keys you trust, or the signature isn't verified;
- its parents, each a link to show it in History, and the branches and tags it's in;
- the files it changed, each opening its diff.


Copy commit id copies its full id.
What you can do from it
| Button | What it does |
|---|---|
| Merge | Merges this commit into your branch, by its id. Only where a branch points at the commit; to merge by the branch's name, drag its chip. See Merge, cherry-pick and revert. |
| Cherry-pick | Applies this commit's change to your branch as a new commit. |
| Revert | Makes a new commit on your branch that undoes this commit's change. |
| Rebase onto here | Opens an interactive rebase of your branch onto this commit. See Interactive rebase. |
| Branch here | Makes a branch at this commit, without switching to it. |
| Tag | Makes a tag at this commit. |
Under the buttons, Commitline says what a merge, cherry-pick or revert would do, before you choose it and without touching your files: Merge applies cleanly., Revert would conflict in 2 files, naming them, or Merge: already on this branch. when your branch has the commit.
More on these is on Merge, cherry-pick and revert.
From GitHub and Azure DevOps
When you're signed in to the repository's host:
- 3 review comments on this commit opens them on the host, in your browser.
- On Azure DevOps, a card shows the pull request that brought the commit in, with its state, approvals and checks.
See GitHub and Azure DevOps.
Drag a branch onto another
Drag a branch's chip onto another branch's chip to merge, rebase, or open a pull request between them; Commitline first checks for conflicts.
See Merge, cherry-pick and revert.