As a developer, my assumption is:
You are working with Git literally every hour.
But I wonder, how many times you felt the necessity of a tool that makes the repetitive commands/steps a bit more convenient for the things like:
- Seeing the diff
- Quickly stage/unstage files
- Seeing the logs
- A tool to quickly open PR regardless of your SCM
Just install it following the instruction from the official repository. Then optionally you can set an alias in your shell configuration to quickly open lazygit. In my case, it's
Here are the features I use most of the time from this tool.
- Stage/unstage like bullet
- Open a PR with a single keypress
- Search through commits
Every time performing these type of commands is really a bit painful when a tool like lazygit exists:
git add foo.go
git add bar.js
git diff foo.goWith lazygit you can quickly see through the changed files and stage/unstage them accordingly. As well as, you can see the changes on each file very easily.
This is my favorite feature of this tool. Because every time I commit something and want to create PR/MR, I have to do a bunch of repetitive clicks here and there. On top of that, sometimes I have to work with GitHub, sometimes GitLab. So even if I wanna use the GitHub CLI tool
hub or GitLab CLI tool
glab, I am ending up using two different tools. So it's nice when I can open PR/MR just by a shortcut within a second or two regardless of what SCM I am on.
When I have to search through a bunch of commits, lazygit comes very handily. Altho there are other tools that exist as well. But I end up utilizing this tool a lot in this case it's I don't have to open another tool or even VS Code for this.
lazygit is open-source. And easy to download and install, so definitely give it a go!