+
+
PRO
+## Commit Graph
-The GitLens Commit Graph provides an interactive view of your repository history. It shows commits, branches, and collaborators in one place, helping you understand contributions and make faster decisions.
+The Commit Graph is the starting point for working in GitLens. It brings repository history, branches, worktrees, Working Changes, pull requests, and supported agent activity into one connected workbench, so you can understand what's happening and move changes toward merge without rebuilding context across tools.
+
+Built on a high-performance rendering engine, the graph stays responsive on large repositories, showing commits, branches, and collaborators in one place.
+
+The Commit Graph is included in **GitLens Community** and available to everyone on public and local repositories — no account required. A GitLens Pro subscription or trial is required only for private repositories.
+
+
+
+
+
+
+
+
+
Note: The gitlens.graph.showDetailsView setting and the standalone Graph Details view have been removed. The details panel is now always embedded in the Commit Graph. The gitlens.proxy setting has also been removed.
+
+
+
PRO
+
+AI Auto Rebase carries a rebase forward through the conflicts GitKraken AI can resolve confidently. When conflicts arise, GitLens analyzes each one and resolves it only when its confidence meets the threshold you configure; anything below that threshold pauses the rebase so you can resolve it yourself.
+
+- Run **GitLens: AI Auto Rebase** from the Command Palette or the graph context menu.
+- The `gitlens.ai.autoRebase.confidenceThreshold` setting (0 to 1) controls how confident the AI must be before automatically applying a resolution.
+- Use `gitlens.ai.resolveConflicts.customInstructions` to provide custom instructions that guide how the AI resolves conflicts.
+- If the result is unsatisfactory, use **GitLens: Undo AI Auto Rebase** to revert to the pre-rebase state.
+
+During the rebase, a progress animation appears in the graph to indicate the operation is in progress. A rebase summary sheet opens in the sidebar when the operation completes.
---
@@ -192,8 +321,10 @@ Helpful context menu actions include:
For GitHub and GitLab, the Commit Graph displays a Pull Request icon for any branch with an open pull request. To enable this, connect a [rich integration](/gitlens/settings/#remote-provider-integration-settings).
+For GitHub repositories, the graph also recognizes **stacked pull requests**. When a branch is part of a PR stack, the PR sheet in the sidebar shows the stack ID, the total number of PRs in the stack, and the current PR's position. Merge operations are stack-aware, distinguishing between merging a single layer and merging the entire stack.
+
+
+
+
@@ -243,7 +376,7 @@ The Minimap provides a high-level overview of repository activity. It shows comm
+
+
### AI Stash Messages`Pro`
**Available in:** Pro, Advanced, and Business plans
@@ -37,7 +43,7 @@ Create intelligent descriptions for stashed changes, making it easier to find an
- When creating a stash: Look for the AI option in the stash creation interface
- From the stash view: Generate descriptions for existing stashes
-
+
### AI Commit Explain `Pro`
**Available in:** Pro, Advanced, and Business plans
@@ -53,8 +59,9 @@ Understand the reasoning behind changes with AI-generated explanations of commit
### AI Changes Explain `Preview`
-Gitkraken AI can also be used to generate summaries in Branches, Working changes, and Stashes.
+Gitkraken AI can also be used to generate summaries for Commits, Branches, Working Changes, and Stashes.
+What a specific commit introduced – ✨Explain Commit
What changed across all commits in a branch – ✨Explain Branch
What you’ve modified in your working directory – ✨Explain Working Changes
What you’ve previously stashed – ✨Explain Stash
@@ -64,6 +71,7 @@ You’ll find ✨Explain options for commits, branches, stashes, and working cha
- In the Commit Graph
- Available as commands in the command palette
- In many GitLens views: Commits, Branches, Stashes, Search & Compare, etc.
+- In editor blame hovers via the ✨Explain button
### AI Changelog Creation `Pro`
**Available in:** Advanced and Business plans only
@@ -87,6 +95,43 @@ Open Pull Requests: Automatically generate clear PR titles and descriptions dire
+### AI Review `Pro`
+**Available in:** Pro, Advanced, and Business plans
+
+Inspect commits or Working Changes before they move forward. GitKraken AI surfaces potential bugs, security issues, and other areas that deserve attention — tagged by severity — directly in the Commit Graph details panel, while you decide what needs to change.
+
+**How to access:**
+- In the Commit Graph: Select a commit or the Working Changes row, then open Review mode in the details panel
+- Customize review behavior with the `gitlens.ai.reviewChanges.customInstructions` setting
+
+You can configure separate AI models for different features (such as compose and review) to optimize for your preferred balance of speed and quality.
+
+### AI Auto Rebase `Pro`
+**Available in:** Pro, Advanced, and Business plans
+
+Move a rebase forward with AI-assisted conflict resolution. AI Auto Rebase resolves a conflict only when its confidence meets the threshold you configure; anything below that threshold pauses the rebase so you can resolve it yourself. A rebase summary sheet shows what was resolved and how, and full undo support returns you to the pre-rebase state if the result is not what you wanted.
+
+**How to access:**
+- From the Command Palette: `GitLens: AI Auto Rebase`
+- From the Commit Graph: Right-click a branch and select AI Auto Rebase
+
+**Key settings:**
+- `gitlens.ai.autoRebase.confidenceThreshold` — Set the minimum confidence level (0-1) for automatic conflict resolution
+- `gitlens.ai.resolveConflicts.customInstructions` — Provide custom instructions for how conflicts should be resolved
+
+### Compose and Recompose `Pro`
+**Available in:** Pro, Advanced, and Business plans
+
+Shape your commit history with AI-assisted commit crafting and branch restructuring.
+
+- **Compose**: Craft clean, logical commits from your Working Changes using the Commit Composer in the Commit Graph
+- **Recompose**: Clean up existing branch history by reorganizing selected commits into a clearer, more intentional sequence. GitKraken AI can propose the new structure and commit messages for you to review and refine before applying the result
+
+**How to access:**
+- From the Commit Graph: Enter Compose mode to create commits from working changes
+- From the Commit Graph context menu: Right-click commits to access Recompose Branch, Recompose from Commit, or Recompose Selected Commits
+- From the Command Palette: `GitLens: Recompose Branch`
+
---
## AI Credit Allocation by Plan
@@ -106,6 +151,7 @@ GitLens offers flexibility in choosing your AI provider:
3. **Custom Provider** (BYOK): Connect your own key from supported AI services
>
- New OpenAI and Google models
+- Mistral
- Self-hosted Azure AI models
- OpenAI-compatible API providers
- Local Ollama models
@@ -128,6 +174,14 @@ To configure your AI provider:
- **Credit usage monitoring**: Track your credit consumption for better allocation management
- **Default AI mode**: Choose between concise or detailed outputs for each feature
+### AI File Exclusions
+
+Control which files are included in AI context to protect sensitive data:
+
+- **Ignore files**: GitLens respects `.aiignore`, `.cursorignore`, and `.aiexclude` files in your repository to exclude matching paths from AI prompts
+- **Exclude setting**: Use the `gitlens.ai.exclude.files` setting to define additional file patterns to exclude
+- Common files like lock files, minified assets, and build output directories are excluded by default
+
### Organization-Level Controls `Business`
- **Enforceable AI rules**: Set organization-wide policies for AI usage
diff --git a/gitlens/GL-Integrations.md b/gitlens/GL-Integrations.md
index 170a2b7..d2fd389 100644
--- a/gitlens/GL-Integrations.md
+++ b/gitlens/GL-Integrations.md
@@ -5,7 +5,7 @@ taxonomy:
category: gitlens
---
-Last updated: July 2025
+Last updated: September 2026
GitLens supports a wide range of remote providers to enhance your Git workflow inside Visual Studio Code. Supported platforms include:
@@ -14,7 +14,8 @@ GitLens supports a wide range of remote providers to enhance your Git workflow i
- Gitea
- Gerrit
- Bitbucket (Cloud and Server)
-- Azure DevOps
+- Azure DevOps (Cloud and Server)
+- Linear (issue tracking)
You can also define [custom remote providers or providers with custom domains](/gitlens/settings/#remote-provider-integration-settings).
@@ -42,6 +43,7 @@ You can use the following GitLens commands to interact with files, commits, and
### Files
- **Open File from Remote** (`gitlens.openFileFromRemote`) — Open a local file by specifying a remote file URL
+- **Open Revision from Remote** (`gitlens.openRevisionFromRemote`) — Open a specific file revision from a remote URL, resolving the exact revision rather than the working copy
- **Open File on Remote** (`gitlens.openFileOnRemote`) — Open the current file or revision on the remote
- **Copy Remote File URL** (`gitlens.copyRemoteFileUrlToClipboard`) — Copy the URL of the current file or revision
- **Open File on Remote From...** (`gitlens.openFileOnRemoteFrom`) — Open a file/revision from a specific branch or tag
@@ -82,18 +84,18 @@ To connect GitHub or GitLab to GitLens, you'll use your GitKraken account via th
#### Steps to Connect:
1. Open the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P`) and run `GitLens: Manage Integrations`, **or**
-2. Go to the **GitKraken Account** section in the GitLens Activity Bar and choose **Integrations**.
+2. In the GitLens **Home** view, select the integrations chip in the header to open the **Integrations** popover, then its gear (**Manage Integrations**).
-
+
@@ -104,6 +106,14 @@ You can connect multiple integrations if needed.
Community users are limited to basic functionality only.
+## GitHub PR Stacks `PRO` + +GitLens supports stacked pull request workflows on GitHub.com. When working with stacked PRs, GitLens shows stack information including the stack size, your PR's position within the stack, and the base ref. Merge operations are stack-aware, letting you choose to merge a single layer or the entire stack. + +PR stack details appear in the Commit Graph pull request sheet when viewing a PR that belongs to a stack. + +*** + ## GitHub Enterprise Server and GitLab Self-Managed Integration `PRO` GitLens Pro supports advanced integration with GitHub Enterprise Server and GitLab Self-Managed. @@ -115,7 +125,7 @@ Once authenticated, GitLens enhances autolinks for these services in hover cards - Pull request and issue details directly in the Sidebar views
+
+
-
+
+
+
-
+
+
+
This feature is available with a GitLens Pro subscription or higher.
+
+
+
+
+
To view logs, open the Output Window (View > Output). The logs will be listed in the _GitLens_ and _GitLens (Git)_ channels. These channels can be toggled from the dropdown.
@@ -89,10 +89,16 @@ You can export logs using the actions in the overflow menu of the Output view.
## Can GitLens or Visual Studio Code Work with a Proxy?
-Yes, you can configure proxy settings from the Visual Studio Code settings. To open these settings, use the keyboard shortcut `command/ctrl + ,`. Then, search for "proxy" to see all related settings.
+Yes. GitLens has no proxy setting of its own; it uses Visual Studio Code's **Http: Proxy** settings (`http.proxy` and related settings). To open these settings, use the keyboard shortcut `command/ctrl + ,`. Then, search for `http.proxy` to see the related settings.
+
+
+
+
+***
-
+## Does GitLens Support Git Submodules?
+Yes. GitLens provides basic Git submodule support, including automatic discovery and tracking of submodules in your workspace. Submodules are distinguished with their own icons in sidebar views, and diffs correctly handle submodule pointer changes. GitLens detects superproject paths and tracks submodule status alongside your main repository.
***
diff --git a/gitlens/gitlens-features.md b/gitlens/gitlens-features.md
index 6294cd9..edd1e51 100644
--- a/gitlens/gitlens-features.md
+++ b/gitlens/gitlens-features.md
@@ -4,7 +4,7 @@ description: Learn how to use GitLens autolinks, terminal links, powerful Git co
taxonomy:
category: gitlens
---
-Last updated: June 2025
+Last updated: September 2026
Features marked with `PRO` require a [trial or paid plan](https://www.gitkraken.com/gitlens/pricing?source=help_center&product=gitlens) for use on privately hosted repositories.
@@ -50,7 +50,7 @@ Available commands:
## Current Line Blame
+
+
+
+
+
-
+
+
+
+
-
+
+
+
+
+
@@ -463,9 +465,9 @@ A new tab will open, displaying your current repository’s commit history. You
At the top of the graph, you’ll see:
-- **Repository name**
+- **Repository** — the hosting provider's icon (hover it for the repository name; the editor tab is titled *Commit Graph: <repository>*)
- **Checked-out branch**
-- **Last fetched timestamp**
+- **Last fetched time** — beside **Fetch** and in its hover
From here, you can:
@@ -473,13 +475,13 @@ From here, you can:
- Click **Fetch** to update commit data
+
Note: The Commit Graph is available to all users on public or local repositories without needing an account. - Private repository access requires a GitLens Pro subscription or trial.
+Note: The Commit Graph is included in GitLens Community and available to all users on public or local repositories, without needing an account. + Only private repository access requires a GitLens Pro subscription or trial.
We welcome your input—join the discussion on GitHub.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The Community plan supports Visual File History only on public and local repositories.
+The Community plan supports Visual History only on public and local repositories.
+
Pro users and above can optionally use a custom API key to connect to a different AI provider. GitKraken AI currently uses the Google Gemini model.
@@ -898,17 +955,20 @@ Let GitKraken AI help explain complex changes across your repo with natural langMore questions about GitKraken AI? See the GitKraken AI FAQ for additional details.
+
+
+
+
-
+
+
+
+
+
+
+
+
+- **Compose Commits** (`gitlens.compose`) — Opens the Commit Composer for working changes in the current repository, or from a Compose mode entry in the Commit Graph details panel.
+- **Recompose Branch** (`gitlens.recomposeBranch`) — Opens the Commit Composer scoped to an entire branch. GitKraken AI can propose a clearer, more intentional sequence of commits and messages for you to review and refine before applying the result.
+- **Recompose from Commit** (`gitlens.recomposeFromCommit`) — Scopes the same workflow to a specific commit onward.
+- **Recompose Selected Commits** (`gitlens.recomposeSelectedCommits`) — Scopes the same workflow to only the selected commits on a branch.
+
+These commands are available from the Commit Graph context menu, branch context menus throughout GitLens, and the Command Palette. Coach marks guide first-time users through the workflow.
***
## Git Command Palette
-
+
+
- **Show Current Branch History** (`gitlens.showQuickRepoHistory`): View the commit history of your current branch.
-- **Show File History** (`gitlens.showQuickFileHistory`): Access the full commit history of the current file.
+- **Show File History** (`gitlens.showQuickFileHistory`): Access the full commit history of the current file. The File History view supports a **contributors mode** (`gitlens.views.fileHistory.mode`) that shows all contributors to the file instead of the commit list.
-
+
- **Search Commits** (`gitlens.showCommitSearch`): Use a quick pick menu to search by:
@@ -1043,13 +1159,13 @@ Adds a [customizable](/gitlens/settings/#git-command-palette-settings) Git Comma
- File path or glob: `:
+
Refer to the [Git log documentation](https://git-scm.com/docs/git-log) for advanced usage.
- **Show Commit Details** (`gitlens.showQuickCommitDetails`): Review commit information and actions.
-
+
- **Show Line Commit Details** (`gitlens.showQuickCommitFileDetails`): Explore the file's commit and take action on it.
@@ -1059,11 +1175,11 @@ Adds a [customizable](/gitlens/settings/#git-command-palette-settings) Git Comma
### Quick Stash Access
+
+
+
+
+
-
+
+
+
-
+
+
+
+
-
+
+
+
+
+
+
+
+ branch – compares current branch to another referenceworking – compares working tree to a selected reference
+gitlens.views.commits.showSignatureVerificationgitlens.views.repositories.showUpstreamStatusgitlens.views.repositories.branches.compactgitlens.advanced.fileHistoryShowMergeCommitsshow – includes merge commitshide – excludes merge commitsgitlens.views.fileHistory.modecommits shows commit history, contributors groups by contributor.branch – compares the current branch with a selected reference
+gitlens.views.branches.compactfalse – hides comparisonsbranch – compares the current branch with a selected reference
+gitlens.views.remotes.compactgitlens.views.tags.revealgitlens.views.tags.compactgitlens.terminalLinks.enabledgitlens.terminalLinks.showIngraph – opens in the Commit Graphinspect – opens in the Inspect viewquickpick – opens in a quick pick menu| Name | +Description | +
|---|---|
gitlens.rebaseEditor.openOnPausedRebase |
+Controls whether the rebase editor auto-opens when a rebase is paused. The auto option only opens for rebases started within GitLens.+ true – always opens+ false – never opens+ auto – only opens for rebases started within GitLens |
+
gitlens.rebaseEditor.revealLocation |
+Controls where the rebase editor opens. | +
gitlens.rebaseEditor.revealBehavior |
+Controls how the rebase editor reveals itself. | +
gitlens.rebaseEditor.density |
+Controls the visual density of commits in the rebase editor. + compact – compact display+ comfortable – comfortable display with more spacing |
+
gitlens.rebaseEditor.openBehavior |
+Controls whether the rebase editor opens beside the current editor. + auto – automatically determined+ beside – opens beside the current editor |
+
gitlens.ai.exclude.files.aiignore, .cursorignore, and .aiexclude files.gitlens.outputLevelgitlens.showWelcomeOnInstallgitlens.visualHistory.allowMultiplegitlens.liveshare.enabledgitlens.experimental.cloudIntegrations.enabledgitlens.advanced.git.maxConcurrentProcessesgitlens.defaultCurrentUserNameStylegitlens.advanced.gitTimeoutgitlens.advanced.resolveSymlinksgitlens.advanced.skipOnboardinggitlens.sortWorkingChangesBystage – sorts by staging statusflat – flat sort ordergitlens.visualHistory.editorOpeningBehaviorgitlens.graph.sidebar.enabledgitlens.graph.stickyTimelinegitlens.graph.autoFetch.enabledgitlens.graph.details.locationright – details panel on the rightbottom – details panel on the bottomauto – automatically positionedgitlens.graph.details.maximizeOnModegitlens.graph.editorOpeningBehaviorgitlens.graph.sidebar.pinnedgitlens.graph.showWorktreeWipStatsgitlens.graph.minimap.reversedgitlens.graph.minimap.defaultVisibilityhidden – minimap is hiddenonSearch – minimap appears during searchalways – minimap is always visiblegitlens.graph.overviewBar.visibilitygitlens.graph.refFindAutoHidegitlens.graph.styletable – table layoutlist – list layoutauto – automatically selectedgitlens.graph.changesColumn.enabledgitlens.graph.changesColumn.modenumbers – shows numeric countssquares – shows colored squaresbar – shows a bar indicatorbipolar – shows a bipolar indicator
+
+
+
+
+
+
+
+
+
+
+
+
+