PRO
-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 GitLens Commit Graph is the main view in the GitLens sidebar, providing an interactive visualization of your repository history. Built on a high-performance rendering engine, it shows commits, branches, and collaborators in one place, helping you understand contributions and make faster decisions.
+
+
+
+
+
+
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 automatically resolves conflicts during a rebase operation. When conflicts arise, GitLens uses AI to analyze and resolve them end-to-end based on a configurable confidence threshold.
+
+- 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,6 +321,8 @@ 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 +375,7 @@ The Minimap provides a high-level overview of repository activity. It shows comm
+
### 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 +69,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 +93,43 @@ Open Pull Requests: Automatically generate clear PR titles and descriptions dire
+### AI Review `Pro`
+**Available in:** Pro, Advanced, and Business plans
+
+Review commits and working changes with AI-powered analysis that surfaces severity-tagged insights directly in the Commit Graph details panel. AI Review identifies potential issues, highlights notable patterns, and provides actionable feedback on your changes.
+
+**How to access:**
+- In the Commit Graph: Select a commit or working changes, then open the 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
+
+Automate rebasing with AI-assisted conflict resolution. AI Auto Rebase handles the end-to-end rebase process, automatically resolving conflicts based on a configurable confidence threshold. A rebase summary sheet shows what was resolved and how, and full undo support lets you revert the operation if needed.
+
+**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 uncommitted working changes using the Commit Composer in the Commit Graph
+- **Recompose**: Restructure existing commits on a branch using AI. Recompose commands let you reorganize, split, or combine commits for a clearer history
+
+**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 +149,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 +172,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..5a78b46 100644
--- a/gitlens/GL-Integrations.md
+++ b/gitlens/GL-Integrations.md
@@ -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
@@ -93,7 +95,7 @@ To connect GitHub or GitLab to GitLens, you'll use your GitKraken account via th
4. Click **Connect with GitHub** or **Connect with GitLab** and complete the sign-in process.
5. Select **Complete Setup** to return to Visual Studio Code and activate the integration.
-You can connect multiple integrations if needed.
+You can connect multiple integrations if needed, including multiple accounts for the same provider. For example, you can connect both a personal and a work GitHub account simultaneously. Use the integration settings to set a primary account, manage connections, and scope searches to a specific account.
@@ -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.
-
-
-
-***
-
-## How can I export logs?
-
-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.
-
-
-
-
-***
-
-## Can I Use My GitLens Paid License on More Than One Computer?
-
-Yes. Your GitLens Pro license is tied to your email address, not a specific device. You can activate and use GitLens on multiple computers using the same account.
+---
+
+---
+title: GitLens FAQ
+description: Frequently asked questions about GitLens and GitKraken account integration.
+taxonomy:
+ category: gitlens
+---
+
+Last updated: July 2025
+
+Get answers to frequently asked questions about GitLens features, sign-in options, and GitKraken account integration.
+
+***
+
+## What is GitLens Community vs GitLens Pro?
+
+Learn about the differences between the two versions on the [GitLens Community vs GitLens Pro](/gitlens/gitlens-community-vs-gitlens-pro) page.
+
+***
+
+## How Do I Sign In or Out of GitLens?
+
+### Sign In to GitLens
+
+To sign in with your GitKraken account:
+
+- Click the GitLens icon in the sidebar.
+- Under **GITKRAKEN ACCOUNT**, select `Sign In`.
+
+
+
+
+
+
+
+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.
+
+
+
+***
+
+## How can I export logs?
+
+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.
+
+
+
+
+***
+
+## 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.
+
+***
+
+## Can I Use My GitLens Paid License on More Than One Computer?
+
+Yes. Your GitLens Pro license is tied to your email address, not a specific device. You can activate and use GitLens on multiple computers using the same account.
diff --git a/gitlens/gitlens-features.md b/gitlens/gitlens-features.md
index 6294cd9..e6564d9 100644
--- a/gitlens/gitlens-features.md
+++ b/gitlens/gitlens-features.md
@@ -1,1355 +1,1575 @@
----
-title: GitLens Features
-description: Learn how to use GitLens autolinks, terminal links, powerful Git commands, remote provider integrations, and UI customizations to enhance your Git workflow in VS Code.
-taxonomy:
- category: gitlens
----
-Last updated: June 2025
-
-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.
-
-Features marked with `PREVIEW` require a GitKraken Account, with access based on your [plan level](https://www.gitkraken.com/gitlens/pricing?source=help_center&product=gitlens) (Community, Pro, etc).
-
-***
-
-## Revision Navigation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Note: Code Suggest is currently supported only for repositories hosted on github.com.
-
-
-
-
-
-
-
- Note: If you're a member of multiple organizations, you can switch organizations from the GitKraken Account view.
-
-
-
-
-
-
- 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.
-We welcome your input—join the discussion on GitHub.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Note: We welcome your feedback on the Minimap. Share your thoughts on the GitLens GitHub Discussions.
-
- Launchpad currently supports GitHub.com and GitLab.com repositories. To use it, connect your Git provider using the GitHub or GitLab Integration.
-
-
-
-
- Note: Launchpad prioritizes items requiring action by elevating them to the top of the list. This behavior may change in future updates.
-This feature is only available on GitLens Pro subscription tiers or higher.
-
-
- The Community plan supports Visual File 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.
-
- More questions about GitKraken AI? See the GitKraken AI FAQ for additional details.
-
-
-#### Interactive Draft Commits
-
-When composing commits, GitLens now creates "draft" commits that you can review, modify, and refine before applying them to your repository. This new workflow lets you:
-
-- **Preview before committing**: See exactly what will be committed before it touches your repository
-- **Switch Models**: Try composition with different AI models
-- **Guide the AI**: Provide custom instructions to match your team's conventions and preferences
-- **Iterate and refine**: Regenerate individual messages or entire commit compositions
-- **Review and edit**: Manually tweak any commit message or approach
-
-
-
-You can launch the new Commit Composer view from several places in GitLens:
-
-- **GitLens commit details view**
-- **Context menu on the WIP row** in the GitLens Commit Graph
-- **Commit Graph details panel**: Switch to **Compose** mode
-- **✨ icon in the SCM view header**
-- **Command palette**: Search for "Compose Commits"
-
-
-
-
-The foundation is now in place for even more powerful composition features in future releases, including intuitive drag-and-drop functionality for moving lines and hunks between commits, creating new draft commits on the fly, and reordering commit sequences.
-
-Whether you prefer to let AI handle the heavy lifting or want granular control over every detail, Commit Composer provides the flexibility to create well-structured commit histories that make code reviews more effective and repository history easier to understand.
-
-### Commit Composer: Branch Recomposition
-
-Commit Composer now lets you clean up and reorganize commits on existing branches, making it perfect for preparing pull requests or refining your commit history before pushing.
-
-
-
-#### Recompose Entire Branches
-
-Open Commit Composer from any branch in the Commit Graph (or anywhere branches appear in GitLens) to inspect and reorganize its commits. The composer creates draft commits you can review before applying changes to your repository.
-
-**Auto-Recompose with AI**: Let AI analyze your branch and restructure commits into logical, well-documented units. Choose your preferred model and provide custom instructions to match your team's conventions. (Pro tip: Set default instructions in the "Generate Commits: Custom Instructions" setting to save time.)
-
-**Manual Control**: Review AI suggestions, regenerate specific commit messages, or manually edit messages and change organization. The composer gives you complete flexibility to craft the commit story that works best.
-
-
-
-#### Enhanced Composer Capabilities
-
-Commit Composer now handles edge cases that previously blocked composition:
-
-- **Untracked files**: Working changes now include untracked files, so all modifications can be composed together
-- **New repositories**: Compose your initial commits even before a base commit exists
-- **Performance boost**: Significantly faster rendering when working with changes across many files
-
-### Commit Composer: Selective Recomposition
-
-Commit Composer now lets you recompose specific commits within a branch, giving you precise control over cleaning up your commit history.
-
-
-
-Previously, you could only recompose all working changes or an entire branch. Now you can select specific commits that need refinement—like those quick "wip" or "fix" commits made during rapid iteration—and let AI restructure just those changes with better messages.
-
-Select multiple contiguous commits on the same branch using Shift or Cmd click, then right-click and choose "Recompose Selected Commits." Commit Composer opens with only your selected commits as drafts, ready for AI-powered or manual refinement.
-
-Commit Composer is also more discoverable, with a new button on the WIP row in the Commit Graph that opens the composer for all working directory changes. Additionally, when rebasing, you can now switch directly into Commit Composer from the Rebase Editor, canceling your rebase to let AI handle the composition instead.
-
-
-
-***
-
-## Git Command Palette
-
-
-
-Adds a [customizable](/gitlens/settings/#git-command-palette-settings) Git Command Palette (`gitlens.gitCommands`) for guided, step-by-step access to many common Git commands. Quickly navigate Git actions, explore commit history, manage stashes, and more—all through intuitive, confirmable menus.
-
----
-
-### Quick Commit Access
-
-- **Show Branch History** (`gitlens.showQuickBranchHistory`): Explore the commit history of any selected branch.
-
-
-
-- **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.
-
-
-
-- **Search Commits** (`gitlens.showCommitSearch`): Use a quick pick menu to search by:
-
- - Message: `
-
- 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.
-
-
-
-
-### Quick Stash Access
-
-
-
-
-
-
-
-
-
- Community users are limited to basic functionality only.
-
-
-
- This feature is only available for Pro subscription tiers or higher.
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Note: Code Suggest is currently supported only for repositories hosted on github.com.
+
+
+
+
+
+
+
+ Note: If you're a member of multiple organizations, you can switch organizations from the GitKraken Account view.
+
+
+
+
+
+
+ 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.
+We welcome your input—join the discussion on GitHub.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Note: We welcome your feedback on the Minimap. Share your thoughts on the GitLens GitHub Discussions.
+
+ Launchpad currently supports GitHub.com and GitLab.com repositories. To use it, connect your Git provider using the GitHub or GitLab Integration.
+
+
+
+
+ Note: Launchpad prioritizes items requiring action by elevating them to the top of the list. This behavior may change in future updates.
+This feature is only available on GitLens Pro subscription tiers or higher.
+
+
+ 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.
+
+ More questions about GitKraken AI? See the GitKraken AI FAQ for additional details.
+
+
+
+
+
+
+
+
+
+
+
+- **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. 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:
+
+ - Message: `
+
+ 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.
+
+
+
+
+### Quick Stash Access
+
+
+
+
+
+
+
+
+
+ Community users are limited to basic functionality only.
+
+
+
+ This feature is only available for Pro subscription tiers or higher.
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+ 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