Added
- Adds all-new iconography to better match VS Code's new visual style — thanks to John Letey (@johnletey) and Jon Beaumont-Pike (@jonbp) for their help!
- Adds an all-new Welcome experience with a simple quick setup of common GitLens features — accessible via the GitLens: Welcome (
gitlens.showWelcomePage
) command - Adds a new and improved interactive Settings editor experience — accessible via the GitLens: Open Settings (
gitlens.showSettingsPage
) command - Adds a new and improved Git Commands (
gitlens.gitCommands
) experience- Adds a Keep Open toggle button to the quick pick menu toolbar
- Saves to the new
gitlens.gitCommands.closeOnFocusOut
setting to specify whether to dismiss the Git Commands menu when focus is lost (if not, pressESC
to dismiss)
- Saves to the new
- Adds a confirmation indicator / toggle button to the quick pick menu toolbar
- Indicates whether the specified Git command will have a confirmation step — some commands require confirmation and can't be toggled
- Saves to the new
gitlens.gitCommands.skipConfirmations
setting to specify which (and when) Git commands will skip the confirmation step
- Adds keyboard navigation
left arrow
— goes back to previous step, if there is no text in the quick pick menualt+left arrow
,ctrl+left arrow
,cmd+left arrow
(macOS) — goes back to previous step
- Adds a new search command to search for specific commits — see below for more details on the all-new commit search experience
- Adds a new stash command with sub-commands for apply, drop, list, pop, and push
- Adds a Reveal Stash in Repositories View button to the quick pick menu toolbar
- Adds keyboard navigation
right arrow
— reveals the selected stash in the Repositories view, if there is no text in the quick pick menualt+left right
,ctrl+left right
,cmd+left right
(macOS) — reveals the selected stash in the Repositories view
- Adds a new reset command to reset current HEAD to a specified commit
- Adds a new revert command to revert specific commits
- Improves and enhances the fetch command
- Adds a new Fetch All & Prune confirmation option
- Adds the last fetched on date to the confirmation step, when a single repo is selected
- Improves and enhances the pull command
- Adds a Fetch button to the quick pick menu toolbar on the confirmation step, when a single repo is selected
- Adds the last fetched on date to the confirmation step, when a single repo is selected
- Adds the number of commits to pull on the confirmation step, when a single repo is selected
- Improves and enhances the push command
- Adds a new Force Push confirmation option
- Adds the number of commits to push on the confirmation step, when a single repo is selected
- Improves and enhances the merge command
- Adds a new Squash Merge confirmation option
- Adds the ability to choose an arbitrary reference (commit id) just by typing (pasting)
- Improves and enhances the rebase command
- Adds the ability to switch between picking a branch/tag or a specific commit via a toggle button in the quick pick menu toolbar
- Adds the ability to choose an arbitrary reference (commit id) just by typing (pasting)
- Improves and enhances the cherry-pick command
- Adds the ability to choose an arbitrary reference (commit id) just by typing (pasting)
- Improves and enhances the checkout command — now renamed to switch for better clarity and to align with the new Git 2.23 commands
- Adds the ability to create a local branch from a remote branch
- Adds the ability to choose an arbitrary reference (commit id) just by typing (pasting)
- Adds a Keep Open toggle button to the quick pick menu toolbar
- Adds an all-new commit search experience, via the Git Commands (
gitlens.gitCommands
) or Search Commits (gitlens.showCommitSearch
) commands- Adds the ability to match on more than one search pattern — closes #410
- Adds case-[in]sensitive matching support — defaults to the new
gitlens.gitCommands.search.matchCase
setting - Adds support for regular expression matching — defaults to the new
gitlens.gitCommands.search.matchRegex
setting - Adds the ability to match on all or any patterns when searching commit messages — defaults to the new
gitlens.gitCommands.search.matchAll
setting - Adds the ability to show results in the Search Commits view or within the quick pick menu via a toggle button in the quick pick menu toolbar
- Adds a Reveal Commit in Repositories View button to the quick pick menu toolbar
- Adds a Show Commit in Search Commits View button to the quick pick menu toolbar
- Adds keyboard navigation
right arrow
— shows the selected commit in the Search Commits view, if there is no text in the quick pick menualt+left right
— shows the selected commit in the Search Commits viewctrl+left right
,cmd+left right
(macOS) — reveals the selected commit in the Repositories view
- Adds a Reveal Commit in Repositories View (
gitlens.revealCommitInView
) command to reveal the current commit in the Repositories view — this can take a while, so it will show a progress notification with the ability to cancel the operation- Adds Reveal Commit in Repositories View command to the commit context menu in the views
- Adds Reveal Commit in Repositories View command in commit quick pick menu
- Adds a Show Commits within Selection in Search Commits View (
gitlens.showCommitsInView
) command to show all the commits within the current selection in the Search Commits view - Adds new actions options to the Git Code Lens
- Adds a
gitlens.showCommitsInView
option to the recent change code lens to show the recent commit in the Search Commits view - Adds a
gitlens.showCommitsInView
option to the authors code lens to show the commits within the range of the code lens block in the Search Commits view - Adds a
gitlens.revealCommitInView
option to the recent change code lens to reveal the recent commit in the Repositories view - Adds a
gitlens.revealCommitInView
option to the authors code lens to reveal the primary author's commit in the Repositories view
- Adds a
- Adds the Open Changes with Working File command to the inline toolbar for files in views
- Adds the Open Revision command to the editor toolbar and tabs context menu when a revision file is active in the diff editor
- Adds this Explore Repository from Revision command to the editor toolbar and tabs context menu when a revision file is active
- Adds a Prune command to remotes in the Repositories view to prune remote references — closes #556 thanks to PR #815 by Zach Boyle (@zaboyle)
- Adds ability to sort branches and tags in quick pick menus and views — closes #745
- Adds a
gitlens.sortBranchesBy
setting to specify how branches are sorted in quick pick menus and views - Adds a
gitlens.sortTagsBy
setting to specify how tags are sorted in quick pick menus and views
- Adds a
- Adds the Pull and/or Push command to current branch in the Repositories view if the current branch is not up to date with its upstream
- Adds ability to copy the selected item's details to the clipboard using the standard copy shortcut key when focused on a GitLens view
- Adds last commit date to branches in quick pick menus and views
- Adds support to use the GitHub avatar (if available) for authors with
@users.noreply.github.com
email addresses — partially addresses #281 thanks to PR #814 by bolte-17 (@bolte-17)
Changed
- Changes Stash All Changes commands in the Source Control view to toggle --keep-index appropriately — closes #698
- Changes Ansible files to use document scope for code lens — thanks to PR #813 by Ahmadali Shafiee (@ahmadalli)
- Changes fetch commands to use the fetch Git command
- Changes pull commands to use the pull Git command
- Changes push commands to use the push Git command
- Changes stash commands to use the new stash Git command
- Changes the Checkout command on branches, commits, and tags to use the switch Git command
- Changes the Cherry Pick Commit (via Terminal) command to use the cherry-pick Git command
- Changes the Merge Branch (via Terminal), and Squash Branch into Commit (via Terminal) commands to use the merge Git command
- Changes the Rebase (Interactive) Branch (via Terminal), Rebase (Interactive) Branch to Remote (via Terminal), and Rebase to Commit (via Terminal) commands to use the rebase Git command
- Changes the Reset to Commit (via Terminal) command to use the reset Git command
- Changes the Revert Commit (via Terminal) command to use the revert Git command
- Renames Checkout command to Switch for branches and tags for better clarity and to align with the new Git 2.23 commands
- Renames Checkout command to Restore for commit/stash files for better clarity and to align with the new Git 2.23 commands
- Renames Stashed Changes to Stashes or Stash depending on the context
- Renames Copy * to Clipboard commands to Copy *
- Renames Show Commit in View (
gitlens.showCommitInView
) command to Show Commit in Search Commits View - Renames Show File History in View (
gitlens.showFileHistoryInView
) command to Show in File History View - Rearranges the ordering and groupings of the view item context menus
Removed
- Removes Show Commit Details from view item context menus
- Removes Show File History from view item context menus
Fixed
- Fixes #849 - Extra backslash in the hovers blame detail's link
- Fixes #847 - Refresh button on Compare With Branch view is not working
- Fixes #842 - List of changed files in comparison to working tree only shows changed files in comparison to HEAD
- Fixes #828 - Version comparison to show welcome message is not future proof — thanks to PR #829 by Arunprasad Rajkumar (@arajkumar)
- Fixes #821 - Wrong comparison order in the Compare view when using Compare [HEAD|Working Tree] With comands
- Fixes #794 - Can't get back to settings page easily
- Fixes #738 - Disable showWhatsNewAfterUpgrades notification
- Fixes #723 (partially) - Top right tool loading/placement enhancement
- Fixes issues with the Open Changes with Working File command when invoked from a stash
- Fixes issue where the Open Line Changes with Previous Revision command would open the correct comparison in the diff editor
- Fixes some issues with the Open Changes with Previous Revision and Open Changes with Next Revision commands when in the right or left side of the diff editor
- Fixes an issue with branch sorting when the current branch was tree'd
- Fixes issues with the Explore Repository from Revision, Open Revision, Open Files, Open Revisions, Open All Changes, Open All Changes with Working Tree commands in the latest VS Code
- Fixes typo of "workbench.colorCustomization" in README — thanks to PR #823 by Kwok (@mankwok)