CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Releases: jesseduffield/lazygit
v0.53.0
bc4b50f
Compare
This is the first lazygit release after Jesse passed the maintainership to me (@stefanhaller), and I'm excited (and a little bit nervous π) about it.
No big new features this time, but lots of smaller quality-of-life improvements. The one that makes the biggest difference for me is an improved hunk selection mode in the staging view (in case you didn't know, you can switch from the normal line selection mode to hunk mode by pressing a
). This now works a bit more fine-grained, by selecting groups of added or deleted lines rather than entire hunks, which often consist of several such groups. With this change I find that I prefer hunk mode over line mode in most cases, so I added a user config to switch to hunk automatically upon entering the staging view; it is off by default, but I encourage you to enable it (gui.useHunkModeInStagingView
) to see if you like it as much as I do. Feedback about this is welcome; please comment on the PR if you have any.
The detailed list of all changes follows:
What's Changed
Enhancements π₯
- Add option to disable warning when amending last commit by @johnhamlin in #4640
- Add bold style for border by @aidancz in #4644
- Add credential prompts for PKCS11-based SSH keys by @Jadeiin in #4646
- Show annotation information for selected tag by @stefanhaller in #4663
- Show stash name for selected stash by @stefanhaller in #4673
- Auto-stash modified files when cherry-picking or reverting commits by @stefanhaller in #4683
- Move to next stageable line when adding a line to a custom patch by @stefanhaller in #4675
- Improve hunk selection mode in staging view by @stefanhaller in #4684
- Add user config to use hunk mode by default when entering staging view by @stefanhaller in #4685
Fixes π§
- Fix stash operations when branch named 'stash' exists by @ChrisMcD1 in #4641
- Fix moving a custom patch from the very first commit of the history to a later commit by @stefanhaller in #4631
- Fix DEFAULT_REMOTE_ICON character code by @bedlamzd in #4653
- Show GPG error before entering commit editor when rewording non-latest commits by @m04f in #4660
- Fix branch head icon appearing at head commit when a remote or tag exists with the same name as the current branch by @stefanhaller in #4669
- Fix applying custom patches to a dirty working tree by @stefanhaller in #4674
- Collapse selection after deleting a range of branches or stashes by @nileric in #4661
Maintenance βοΈ
- Instantiate mutexes by value by @stefanhaller in #4632
- Bump github.com/cloudflare/circl from 1.6.0 to 1.6.1 by @dependabot in #4633
- Update linter by @stefanhaller in #4671
- Some code cleanups to the "discard file changes from commit" feature by @stefanhaller in #4679
- Change Refresh to not return an error by @stefanhaller in #4680
Docs π
- Fix formatting of a keyboard shortcut in the README.md by @DanOpcode in #4678
I18n π
- Update translations from Crowdin by @stefanhaller in #4686
New Contributors
- @johnhamlin made their first contribution in #4640
- @aidancz made their first contribution in #4644
- @bedlamzd made their first contribution in #4653
- @Jadeiin made their first contribution in #4646
- @m04f made their first contribution in #4660
- @DanOpcode made their first contribution in #4678
- @nileric made their first contribution in #4661
Full Changelog: v0.52.0...v0.53.0
Assets 17
- sha256:f1b434e0f9ffadc1765d321170055291e30539fac6d91a51e128a4c7c22ceb19
2025-07-05T02:37:58Z - sha256:801e070084f1295750bb3412cbfb04a27c430528fe6a862799fcf4ed6ba4a4eb
2025-07-05T02:37:56Z - sha256:126448d33883fa140747fe1cca63bbd3757bf8d14c4af44883fa50aeea17cfe0
2025-07-05T02:37:58Z - sha256:3c0153bfc56a44254e9b33246f5de4e9eb5dba13bf9337120f70960dae538fdd
2025-07-05T02:37:56Z - sha256:47991fd4f87117acdb33ed1878dbf4768e5dd4777bf2f172140b1251dcb7b2fd
2025-07-05T02:37:58Z - sha256:53ad94d8cfaee525aefc7c2730a6c98bb539ab4142cab1a25ea5291b84ac5dc1
2025-07-05T02:37:57Z - sha256:da8c19043c9bc1445c8ba22c43dc516a23a95f301cf1382bc8fdb9c124ea2f5a
2025-07-05T02:37:56Z - sha256:6438221f9470834d151fdade23815783f367a57aa169d5e3a766234b412641aa
2025-07-05T02:37:58Z - sha256:3339c312918f20b98558523d614f51ea352485ac5e59596e98c74145cca6f224
2025-07-05T02:37:57Z - sha256:6353be5207ce302215586a5a08f1737b48f70470ca452bfcbfd7db652047942a
2025-07-05T02:37:57Z -
2025-07-04T17:46:36Z -
2025-07-04T17:46:36Z - Loading
v0.52.0
aa331e5
Compare
What's Changed
Enhancements π₯
- Add user config for hiding the root item in the file tree by @stefanhaller in #4593
- Use branchPrefix when moving commits to new branch by @EliasA5 in #4604
- Show default option when prompting to create a new git repo by @Joshuahuahua in #4596
Fixes π§
- Fix selecting large hunks, and fix problems editing very long commit descriptions by @stefanhaller in #4589
- Kill background fetch when it requests a passphrase by @stefanhaller in #4588
- Fix branch selection jumping back on background fetch by @stefanhaller in #4597
- Fix resetting to a branch when a tag shares the same name, or vice versa by @ChrisMcD1 in #4571
- Fix wrong inactive highlight when switching between repos by @stefanhaller in #4621
- Fix assigning custom key to pullFiles command in the Commits panel by @stefanhaller in #4617
Maintenance βοΈ
- Replace literal with ConfigFilename constant by @mloskot in #4613
- Improve PR template wrt release notes by @stefanhaller in #4607
New Contributors
- @mloskot made their first contribution in #4613
- @Joshuahuahua made their first contribution in #4596
Full Changelog: v0.51.1...v0.52.0
Assets 17
v0.51.1
da32b59
Compare
What's Changed
Fixes π§
- Fix lazygit's UI becoming unresponsive when a background fetch asks for a passphrase by @stefanhaller in #4586
Full Changelog: v0.51.0...v0.51.1
Assets 17
v0.51.0
6705428
Compare
What's Changed
Enhancements π₯
- Clean up the configuration of where a custom command's output goes by @stefanhaller in #4525
- Add custom patch command "Move patch into new commit before the original commit" by @stefanhaller in #4552
- Make '>' first jump to the beginning of the branch, and only then to the first commit by @stefanhaller in #4544
- Add an alternate keybinding (default ) for ConfirmInEditor by @stefanhaller in #4532
- Print migration changes to the console when migrating config file by @stefanhaller in #4548
Fixes π§
- Migrate deprecated AllBranchesLogCmd to AllBranchesLogCmds by @ChrisMcD1 in #4345
- Clear preserved commit message when entering CommitEditorPanel by @ChrisMcD1 in #4558
- Split behavior of rendering allBranchesLogCmd and switching to next cmd by @ChrisMcD1 in #4574
- Fix possible crash with auto-forwarding branches by @stefanhaller in #4565
- Fix main view occasionally scrolling to the top on its own when focused by @stefanhaller in #4573
- Fix home and end keys in prompts by @stefanhaller in #4554
- Fix crash when clicking in the status view by @stefanhaller in #4567
Maintenance βοΈ
- Clean up utils package by @stefanhaller in #4538
Docs π
New Contributors
Full Changelog: v0.50.0...v0.51.0
Assets 17
v0.50.0
66caa25
Compare
What's Changed
Enhancements π₯
- Continue/abort a conflicted cherry-pick or revert by @stefanhaller in #4441
- Show todo items for pending cherry-picks and reverts by @stefanhaller in #4442
- Use "git cherry-pick" for implementing copy/paste of commits by @stefanhaller in #4443
- Allow reverting a range of commits by @stefanhaller in #4444
- Section headers for rebase todos and actual commits by @stefanhaller in #4463
- Focus the main view by @stefanhaller in #4429
- Auto-forward main branches after fetching by @stefanhaller in #4493
- Add new command "Move commits to new branch" by @stefanhaller in #3876
- Strip the '+' and '-' characters when copying parts of a diff to the clipboard by @stefanhaller in #4519
- Reduce memory consumption of graph (pipe sets) by @stefanhaller in #4498
Fixes π§
- Fix truncation of branches when scrolling branches panel to the left by @stefanhaller in #4483
- Fix nvim-remote commands for fish shell by @SavingFrame in #4506
- Disallow creating custom patches when the diff context size is 0 by @stefanhaller in #4522
- Remove double space between rebase todo and author columns by @stefanhaller in #4520
Maintenance βοΈ
- Allow closing issues via github actions by @jesseduffield in #4515
Docs π
- Add Debian installation instructions alongside Ubuntu by @jmkim in #4501
- fix wording of random tip by @dawedawe in #4488
New Contributors
- @jmkim made their first contribution in #4501
- @SavingFrame made their first contribution in #4506
- @dawedawe made their first contribution in #4488
Full Changelog: v0.49.0...v0.50.0
Assets 17
v0.49.0
5f80980
Compare
What's Changed
Enhancements π₯
- Support fish when running shell command by @stefanhaller in #4350
- Add acme editor preset by @rakoo in #4360
- Support home and end as alternatives to '<' and '>' by @stefanhaller in #4396
- Drop the git config cache when getting focus by @stefanhaller in #4376
- Add a "Content of selected file" entry to the copy menu for commit files by @stefanhaller in #4341
- Add root node in file tree by @stefanhaller in #4346
- [FEAT] Add Recursive Bulk Initialize and Update for Submodules by @cesarandr in #4259
- Commit without pre-commit hooks action is independent on prefix by @kschweiger in #4374
- Let users define custom icons and color for files on the config file by @hasecilu in #4395
- Add "Absolute path" item to the file view's copy menu by @stefanhaller in #4410
- Allow range drop stashes by @gaogao-qwq in #4451
- More navigation keybindings for confirmation panel by @stefanhaller in #4404
- Resolve non-inline merge conflicts by @stefanhaller in #4431
- Add
runCommand
function to Go template syntax + add support for templates in gitbranchPrefix
setting by @ruudk in #4438 - Show "(hooks disabled)" in title bar of commit message editor by @stefanhaller in #4467
- Add a command to select all commits of the current branch by @stefanhaller in #4448
Fixes π§
- Use a waiting status for rewording a non-head commit by @stefanhaller in #4343
- Fix layout of options view for non-english languages by @stefanhaller in #4359
- Fix changing language while lazygit is running by @stefanhaller in #4361
- URL encode gitlab brackets to make consistent with branch names by @ChrisMcD1 in #4336
- Fix commitPrefix setting with empty pattern by @stefanhaller in #4381
- Commit only tracked files in tracked filter view by @parthokunda in #4386
- Revert #4313 (Skip post-checkout hook when discarding changes) by @stefanhaller in #4407
- Enhance support for GPG signed tags by @ChrisMcD1 in #4394
- Fix checking out a file from a range selection of commits by @stefanhaller in #4423
- Fix discarding submodule changes in nested folders by @brandondong in #4317
- Better support for shell aliases by @stefanhaller in #4385
- Fix hyperlinks in last line of confirmation popups by @stefanhaller in #4454
- Fix wrong main view content after pressing
e
in a stack of branches by @stefanhaller in #4450 - fix: update vscode color to logo color by @PeterCardenas in #4459
- Fix crash with drag selecting and staging by @stefanhaller in #4480
- Escape special characters in filenames when git-ignoring files by @stefanhaller in #4475
Maintenance βοΈ
- Fix linter warnings by @stefanhaller in #4352
- Fix release schedule again by @stefanhaller in #4364
- Update to go 1.24 by @radsaq in #4377
- Add an integration test for a config with a negative refspec by @radsaq in #4382
- Specify a go release minor version by @radsaq in #4393
- Fix flaky integration test by @stefanhaller in #4432
- Some code cleanup by @stefanhaller in #4449
- Bump the minimum required git version to 2.22 by @stefanhaller in #4439
- Bump go-git, and get rid of github.com/imdario/mergo by @stefanhaller in #4460
- Skip date check when release worfklow is manually invoked by @jesseduffield in #4484
Docs π
- Include empty arrays and maps in config docs by @stefanhaller in #4413
- Filter out deprecated user config fields from generated Config.md by @karimkhaleel in #4416
- Corrected interactive rebase keybind example in README.md by @NewtonChutney in #4426
- Update kidpix link in README to active url by @ChrisMcD1 in #4425
I18n π
- Update translation files from Crowdin by @stefanhaller in #4473
New Contributors
- @rakoo made their first contribution in #4360
- @radsaq made their first contribution in #4377
- @cesarandr made their first contribution in #4259
- @kschweiger made their first contribution in #4374
- @NewtonChutney made their first contribution in #4426
- @gaogao-qwq made their first contribution in #4451
- @ruudk made their first contribution in #4438
Full Changelog: v0.48.0...v0.49.0
Assets 17
v0.48.0
1b571f9
Compare
What's Changed
Enhancements π₯
- Custom commands submenus by @stefanhaller in #4324
Maintenance βοΈ
- Refactor migrations to only marshall yaml twice by @ChrisMcD1 in #4318
Full Changelog: v0.47.2...v0.48.0
Assets 17
v0.47.2
4e38a94
Compare
Small patch release for you all. This is mainly to fix an issue with v0.47.1 which erroneously re-indented users' lazygit config files on startup.
Shout-out to @karimkhaleel for his PR with some gnarly yaml-handling code.
And a special shout-out to @ChrisMcD1 who has been pumping out many great contributions lately. Great to have you aboard.
What's Changed
Enhancements π₯
- Skip post-checkout hook when discarding changes by @stefanhaller in #4313
Fixes π§
- fix: Disable global keybinds when confirmation is active by @ChrisMcD1 in #4284
- Don't rewrite config file unnecessarily when it contains commitPrefixes by @ChrisMcD1 in #4311
- Change side panel width calculation to work for larger numbers by @ChrisMcD1 in #4287
Maintenance βοΈ
- Fix auto-release schedule by @jesseduffield in #4308
- Use indentation of 2 when rewriting auto-migrated config file by @stefanhaller in #4312
- Use refs in jsonschema by @karimkhaleel in #4309
- Improve release workflow by @jesseduffield in #4307
- Filter out dev comments from schema by @stefanhaller in #4319
- Fix release script by @jesseduffield in #4322
- Fix release script once again by @jesseduffield in #4323
Docs π
- Improve the error message when users have gpg signing turned on by @stefanhaller in #4296
Full Changelog: v0.47.1...v0.47.2
Assets 17
v0.47.1
101bbb0
Compare
What's Changed
Maintenance βοΈ
- Fix race condition with reselecting the focused branch and rendering by @stefanhaller in #4268
Full Changelog: v0.47.0...v0.47.1
Assets 17
v0.46.0
6636d0c
Compare
It's time for another Lazygit release! Thanks to all who contributed to this release.
What's Changed
Enhancements π₯
- Preserve pending commit message when closing/re-opening by @AzraelSec in #4191
- Swap position of checkout-commit and checkout-branch menu items by @stefanhaller in #4238
- In a previous release we had made it so that when you press space on a commit, the first option in the menu was to check out the corresponding branch, rather than the commit itself. We've made it so that now the first option is to check out the commit itself, for the sake of everybody's muscle memory.
- Allow user to filter the files view to only show untracked files by @jesseduffield in #4226
- Expose {{.SelectedCommitRange}} to custom commands by @stefanhaller in #4204
- Show background fetch status in bottom line by @stefanhaller in #4215
- Support copying tags to clipboard by @brunofjesus in #4218
- Add option to delete local and remote tag by @AnvarU in #4217
- Show confirmation menu when trying to amend changes while there are conflicts by @stefanhaller in #4222
- Improve error reporting on config migration by @kas2020-commits in #4210
- Show files filter status by @stefanhaller in #4230
- Improve contrast of highlighted search results by @stefanhaller in #4242
Fixes π§
- Don't try killing processes if we already know the command finished by @brandondong in #4231
- We believe this was causing all sorts of problems for windows users.
- Add '--' to 'git rev-list' to disambiguate branch name from path by @efussi in #4185
- Fix adding blank line at end of commit message by @stefanhaller in #4182
- Fix checking out a different branch while pushing a branch for the first time by @stefanhaller in #4214
- Fix tag being truncated when copying to clipboard by @brunofjesus in #4232
- Disable staging and unstaging lines or hunks when the diff context size is 0 by @stefanhaller in #4235
- Fix incorrect stash diff after rename by @brandondong in #4213
- Fix possible crash when deleting a branch while filtering is active by @stefanhaller in #4195
- Fix pasting multi-line text into commit message panel by @stefanhaller in #4234
- fix: properly detect icon for BAZEL and WORKSPACE files by @PeterCardenas in #4252
- Fix json schema for context of CustomCommand by @stefanhaller in #4255
Maintenance βοΈ
- Bump go-deadlock version to fix crash with go 1.23 in debug mode by @ChrisMcD1 in #4248
- Fix auto-release workflow by @jesseduffield in #4265
I18n π
- Update translations; includes a new Portuguese translation by @stefanhaller in #4250
New Contributors
- @efussi made their first contribution in #4185
- @brunofjesus made their first contribution in #4218
- @AnvarU made their first contribution in #4217
- @kas2020-commits made their first contribution in #4210
- @ChrisMcD1 made their first contribution in #4248
- @PeterCardenas made their first contribution in #4252
Full Changelog: v0.45.2...v0.46.0