Why
- Using CLI, hard to remember all commands (no hints available)
- Using VS Code, hard to use keyboard for everything (especially complicated workflows)
- Lazygit is a TUI that makes git workflows easy to complete with quick keypresses
General
Updating feature branch with latest upstream branch
- Move to branches area
- If your feature branch isnβt already checked out, move to it and press
Space
to check it out
- Move to the local copy of your upstream branch (e.g.
main
)
- Press
f
to fast-forward it to match its upstream (e.g. your local main
now matches the remote main
)
- Press
M
to merge the local copy of your upstream branch into your checked out branch (or r
to rebase your checked out branch onto it if you prefer)
Splitting an existing commit into multiple commits
Inbox