MyGit

v0.43.0

jesseduffield/lazygit

版本发布时间: 2024-07-13 13:39:38

jesseduffield/lazygit最新发布版本:v0.43.1(2024-07-13 18:28:56)

What's Changed

Thanks to all contributors who helped make this release happen! There's a lot of first-time contributors on this release as well so kudos to you all.

There's quite a few things in this release. I'm going to single out a couple that have changed my workflow.

Base branch stuff

https://github.com/user-attachments/assets/9f50824a-6221-4ca0-9cf3-a4d45cc43262

Easier rebase onto base branch

(Add command to rebase onto base branch by @stefanhaller in https://github.com/jesseduffield/lazygit/pull/3615)

When my feature branch gets out of date with the main branch, I like to rebase it onto the main branch. Up until now, that's required:

That takes too long! Now you can just press 'r' followed by 'b' to rebase onto the base branch (which defaults to origin/main).

See the divergence count from the base branch

(Divergence from base branch display by @stefanhaller in https://github.com/jesseduffield/lazygit/pull/3613)

You can now also configure to see the divergence from a branch and its base branch with the following config:

gui:
    showDivergenceFromBaseBranch: arrowAndNumber # or 'onlyArrow'

This shows the divergence count in blue, next to the yellow count of divergence from the upstream branch. This is admittedly noisy, so it's an opt-in feature. But I think the noise is worth it.

If you set the config value to 'onlyArrow' it's a lot less noisy:

image

See detailed divergence from base branch

(Add command to show divergence from base branch as a left-right log by @stefanhaller in https://github.com/jesseduffield/lazygit/pull/3614)

By pressing 'u' then 'b' on a branch you can see the divergence view for that branch compared to its base branch

Improved 'Find commit for fixup' feature

(Improve the "Find base commit for fixup" command by @stefanhaller in https://github.com/jesseduffield/lazygit/pull/3602)

'Find commit for fixup' is not a very catchy name for this feature but I can't think of anything better at the moment. Nevertheless! The idea is that you often want to know for a given set of changes, which commit ought they be included in? Just press ctrl+f when in the files panel and lazygit will jump the cursor to the appropriate commit to fixup.

With this release, the feature is smarter and more lenient so it's more likely to find you a match. If you haven't tried this out you should really give it a go!

https://github.com/user-attachments/assets/220e4190-b631-40a5-b8dc-7d1a6116ab09

Other Enhancements 🔥

https://github.com/user-attachments/assets/a85825b8-9110-4090-ba89-ba8221cbc7a8

image

https://github.com/user-attachments/assets/2d3e15a9-4acc-4b81-b0e2-a34490ad77ad

Fixes 🔧

Maintenance ⚙️

Docs 📖

New Contributors

Full Changelog: https://github.com/jesseduffield/lazygit/compare/v0.42.0...v0.43.0

Shameless Plug

I (Jesse) quit my day job and co-founded Subble, a startup that helps your company manage its SaaS subscriptions (discovery of subscriptions, onboarding/offboarding etc) to save you time and money. Check it out! https://www.subble.com/

相关地址:原始地址 下载(tar) 下载(zip)

1、 checksums.txt 1.38KB

2、 lazygit_0.43.0_Darwin_arm64.tar.gz 6.31MB

3、 lazygit_0.43.0_Darwin_x86_64.tar.gz 6.66MB

4、 lazygit_0.43.0_freebsd_32-bit.tar.gz 6.07MB

5、 lazygit_0.43.0_freebsd_arm64.tar.gz 6.03MB

6、 lazygit_0.43.0_freebsd_armv6.tar.gz 6.1MB

7、 lazygit_0.43.0_freebsd_x86_64.tar.gz 6.52MB

8、 lazygit_0.43.0_Linux_32-bit.tar.gz 6.08MB

9、 lazygit_0.43.0_Linux_arm64.tar.gz 6.04MB

10、 lazygit_0.43.0_Linux_armv6.tar.gz 6.1MB

11、 lazygit_0.43.0_Linux_x86_64.tar.gz 6.52MB

12、 lazygit_0.43.0_Windows_32-bit.zip 6.3MB

13、 lazygit_0.43.0_Windows_arm64.zip 6.09MB

14、 lazygit_0.43.0_Windows_armv6.zip 6.21MB

15、 lazygit_0.43.0_Windows_x86_64.zip 6.69MB

查看:2024-07-13发行的版本