System Requirements
Works on my machine, ship it.
Using Lazygit and Linux/Unix (literally anything *nix)
For Windows users, the use of Windows Subsystem for Linux (WSL) is highly encouraged in order to avoid those rare, maddening, a-tiny-part-of-this-one-library-breaks issues that can be very hard to debug.
Ubuntu LTS' apt
package manager is version locked. Use
Homebrew instead to install the latest versions of
packages.
The use of Lazygit is highly encouraged, as it provides a visual terminal user interface (TUI) to manage your commits, branches, staging areas, stashes, and much more. It is also significantly easier to resolve merge conflicts, cherry-pick commits between branches, squash them, amend a few commits back, checkout a specific commit, stage in hunks, etc. You will be able to unlock the full power of Git without having to memorize all the commands.
TODO: Add demo gif of Lazygit in action
- Branch checkout, pull, push, and rebase
- Commit, amend, re-word, re-order, squash, and cherry-pick
- Staging hunks, lines, and files
- Soft reset, mixed reset, and hard reset
- Named stashes
- Worktrees
- Reflog
- Git command log
As you go through this document, if there's a technology or process you'd like to dig deeper into, feel free to explore our knowledge base.
If you find some great resources and/or have some of your own, we'd very much appreciate your contributions :)
Last updated on