Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0ff42a4

Browse files
committed
docs: Refresh Visual File History documentation
1 parent 0702664 commit 0ff42a4

File tree

1 file changed

+47
-14
lines changed

1 file changed

+47
-14
lines changed

‎gitlens/GL-Visual-File-History.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,63 @@
11
---
2-
3-
title: Gitlens Visual File History
4-
description: Learn about Visual File History in Gitlens
2+
title: GitLens Visual File History
3+
description: Use GitLens Visual File History to explore file evolution, changes, and authorship over time in VS Code.
54
taxonomy:
65
category: gitlens
76

87
---
98

9+
<kbd>Last updated: August 2025</kbd>
1010

11-
The Visual File History allows you to quickly see the evolution of a file, including when changes were made, how large they were, and who made them.
11+
## Visual File History
1212

13-
To access the Visual File History view, open the GitLens Inspect sidebar. Once the sidebar is open, the view will be available. Alternatively, you can open Visual File History from the Command Palette by using (`cmd/ctrl + shift + P`) > GitLens: Show Visual File History View.
13+
The GitLens **Visual File History** shows how a file has evolved, including when changes were made, the size of those changes, and who made them.
1414

15-
<imgsrc="/wp-content/uploads/visual-file-history.png"class="help-center-img img-bordered">
15+
---
1616

17-
Authors who have contributed changes to the file are on the left y-axis to create a swim-lane of their commits over time (the x-axis). Commit are plotted as color-coded (per-author) bubbles, whose size represents the relative magnitude of the changes.
17+
### Open Visual File History
1818

19-
Additionally, each commit's additions and deletions are visualized as color-coded, stacked, vertical bars, whose height represents the number of affected lines (right y-axis). Added lines are shown in green, while deleted lines are red.
19+
You can open the Visual File History view in two ways:
2020

21+
1. From the **GitLens Inspect** sidebar.
22+
- Open the sidebar, then select the **Visual File History** view.
23+
2. From the **Command Palette**:
24+
- macOS: <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>
25+
- Windows/Linux: <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>
26+
- Search for **GitLens: Show Visual File History View**.
2127

22-
Gain additional insights on hover.
28+
<figure>
29+
<img src="/wp-content/uploads/visual-file-history.png" class="help-center-img img-bordered" alt="Visual File History view in GitLens showing commits plotted by author and time" />
30+
<figcaption style="text-align: center; color: #888">Visual File History view</figcaption>
31+
</figure>
2332

24-
<imgsrc="/wp-content/uploads/visual-file-history-hover.png"class="help-center-img img-bordered">
33+
---
2534

26-
<div class='callout callout--warning'>
27-
<p>Community plan is restricted to Public and Local Repositories only.</p>
28-
</div>
35+
### Understand the Graph
36+
37+
- **Authors (y-axis, left):** Each author is shown in a swimlane, mapping their commits over time.
38+
- **Commits:** Plotted as color-coded bubbles by author. Bubble size represents the relative magnitude of changes.
39+
- **Changes (y-axis, right):** Each commit’s additions and deletions are shown as stacked vertical bars.
40+
- Green = added lines
41+
- Red = deleted lines
42+
43+
<figure>
44+
<img src="/wp-content/uploads/visual-file-history-hover.png" class="help-center-img img-bordered" alt="Hover details in Visual File History showing commit metadata and changes" />
45+
<figcaption style="text-align: center; color: #888">Commit details on hover</figcaption>
46+
</figure>
47+
48+
---
49+
50+
### Gain Insights on Hover
2951

30-
***
52+
Hover over any commit bubble or bar to see details about:
53+
- Author
54+
- Commit message
55+
- Number of additions and deletions
56+
57+
---
58+
59+
### Availability
60+
61+
<div class='callout callout--warning'>
62+
<p>The Community plan supports <strong>Public</strong> and <strong>Local</strong> repositories only. A paid GitLens subscription is required for private repositories.</p>
63+
</div>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /