-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommit-graph.html
More file actions
191 lines (185 loc) · 9.69 KB
/
Copy pathcommit-graph.html
File metadata and controls
191 lines (185 loc) · 9.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Visual Commit Graph - Git Navigator</title>
<meta name="description" content="Explore your entire Git history as an interactive graph in Git Navigator. See branches, tags, merges, and your current position at a glance, and check out any commit with one click." />
<meta name="keywords" content="git commit graph, visual git history, git branch visualization, git navigator" />
<link rel="canonical" href="https://gitnav.xyz/commit-graph.html" />
<!-- OpenGraph -->
<meta property="og:type" content="article" />
<meta property="og:site_name" content="Git Navigator" />
<meta property="og:title" content="Visual Commit Graph - Git Navigator" />
<meta property="og:description" content="Explore your entire Git history as an interactive graph in Git Navigator. See branches, tags, merges, and your current position at a glance, and check out any commit with one click." />
<meta property="og:url" content="https://gitnav.xyz/commit-graph.html" />
<meta property="og:image" content="https://gitnav.xyz/static/commit-graph.png" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Visual Commit Graph - Git Navigator" />
<meta name="twitter:description" content="Explore your entire Git history as an interactive graph in Git Navigator. See branches, tags, merges, and your current position at a glance, and check out any commit with one click." />
<meta name="twitter:image" content="https://gitnav.xyz/static/commit-graph.png" />
<link rel="icon" href="static/icon.png" type="image/png" />
<link rel="stylesheet" href="static/site.css" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "Visual Commit Graph",
"description": "Explore your entire Git history as an interactive graph in Git Navigator. See branches, tags, merges, and your current position at a glance, and check out any commit with one click.",
"mainEntityOfPage": "https://gitnav.xyz/commit-graph.html",
"about": "Git Navigator",
"image": "https://gitnav.xyz/static/commit-graph.png"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How is this different from running git log --graph?",
"acceptedAnswer": {
"@type": "Answer",
"text": "git log --graph prints an ASCII tree in your terminal that you can only read. Git Navigator renders the same topology as an interactive graph you can act on — click a commit to check it out, drag to rebase, and see branch and tag labels drawn inline."
}
},
{
"@type": "Question",
"name": "Does the graph show all branches at once?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. The graph lays out your branches as parallel lanes so you can see the full topology — mainline, feature branches, merges, and tags — in a single view, with your current position highlighted."
}
},
{
"@type": "Question",
"name": "Can I check out a commit from the graph?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Click any commit in the graph to check it out. Git Navigator moves the current-commit highlight to the new HEAD so you always know where you are."
}
},
{
"@type": "Question",
"name": "Is the commit graph available in both the VS Code extension and the desktop app?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. The Visual Commit Graph is part of the shared Git Navigator product surface and works the same way in the VS Code extension and the standalone desktop app."
}
}
]
}
</script>
</head>
<body class="page-doc page-commit-graph">
<nav class="site-nav">
<div class="container nav-inner">
<a class="nav-brand" href="index.html">Git Navigator</a>
<div class="nav-links">
<a href="stack.html">Branch vs Stack mode</a>
<a href="stack_reviewer.html">Stack Reviewer</a>
</div>
</div>
</nav>
<header>
<div class="container hero">
<h1>See your whole history at a glance</h1>
<p>The Visual Commit Graph turns <code>git log</code> into a living, interactive map of your repository. Branches, tags, and merges are laid out as a tree so you can read history the way you think about it — and act on it directly.</p>
<p><a href="index.html">Back to the main page</a></p>
</div>
</header>
<section>
<div class="container">
<figure>
<div class="media-frame">
<img src="static/commit-graph.png" alt="Git Navigator showing an interactive commit graph with multiple branches, a tag, and a merge commit" data-zoom />
</div>
<figcaption>A real repository rendered by Git Navigator: the mainline, two feature branches, the v1.0 tag, and a merge node — all in one view.</figcaption>
</figure>
</div>
</section>
<section>
<div class="container">
<h2 class="section-title">What the graph shows you</h2>
<div class="grid">
<div class="card">
<h3>Branch & tag labels inline</h3>
<p>Refs are drawn right on the commits they point to, so you never lose track of where a branch tip or release tag actually sits.</p>
</div>
<div class="card">
<h3>Current commit highlight</h3>
<p>Git Navigator gives the commit at <code>HEAD</code> a larger, ringed dot and a tinted row, so where you are sits one glance away from anything else on the graph.</p>
</div>
<div class="card">
<h3>Merge & parent lines</h3>
<p>Parent–child relationships are drawn as lanes, making merges, forks, and divergence obvious instead of inferred.</p>
</div>
<div class="card">
<h3>Favorites stay pinned</h3>
<p>Star the branches you care about and they stay visible even when the rest of the graph scrolls away.</p>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<h2 class="section-title">Reading and using the graph</h2>
<div class="card">
<ol class="tips">
<li><strong>Open a repository.</strong> Point Git Navigator at any folder with a <code>.git</code> directory. The full commit graph renders immediately — no command to run.</li>
<li><strong>Follow the lanes.</strong> Each vertical lane is a line of development. Where lanes split, history diverged; where they join, a merge happened.</li>
<li><strong>Find your position.</strong> The commit at <code>HEAD</code> is drawn with a larger, ringed dot and a tinted row, so spotting where you are is one glance. Branch and tag labels sit on the commits they reference.</li>
<li><strong>Check out any commit.</strong> Click a commit to check it out and explore that point in history. The current-commit highlight follows you to the new <code>HEAD</code>.</li>
</ol>
</div>
</div>
</section>
<section>
<div class="container">
<h2 class="section-title">Frequently asked questions</h2>
<div class="grid">
<div class="card">
<h3>How is this different from running git log --graph?</h3>
<p>git log --graph prints an ASCII tree in your terminal that you can only read. Git Navigator renders the same topology as an interactive graph you can act on — click a commit to check it out, drag to rebase, and see branch and tag labels drawn inline.</p>
</div>
<div class="card">
<h3>Does the graph show all branches at once?</h3>
<p>Yes. The graph lays out your branches as parallel lanes so you can see the full topology — mainline, feature branches, merges, and tags — in a single view, with your current position highlighted.</p>
</div>
<div class="card">
<h3>Can I check out a commit from the graph?</h3>
<p>Click any commit in the graph to check it out. Git Navigator moves the current-commit highlight to the new HEAD so you always know where you are.</p>
</div>
<div class="card">
<h3>Is the commit graph available in both the VS Code extension and the desktop app?</h3>
<p>Yes. The Visual Commit Graph is part of the shared Git Navigator product surface and works the same way in the VS Code extension and the standalone desktop app.</p>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<h2 class="section-title">Related guides</h2>
<div class="footer-inner">
<a class="button secondary" href="stack.html">Branch vs Stack mode</a>
<a class="button secondary" href="stack_reviewer.html">Stack Reviewer</a>
</div>
</div>
</section>
<footer class="site-footer">
<div class="container footer-inner">
<a class="footer-link" href="https://github.com/binhonglee/git_navigator" target="_blank" rel="noreferrer">GitHub</a>
<a class="button secondary" href="mailto:binhong@binhong.me">Contact</a>
</div>
</footer>
<div class="overlay" id="media-overlay" aria-hidden="true">
<div class="overlay-content">
<button class="overlay-close" type="button" aria-label="Close media">x</button>
<div class="overlay-body"></div>
</div>
</div>
<script src="static/site.js"></script>
</body>
</html>