lazygit
1
总安装量
1
周安装量
#52106
全站排名
安装命令
npx skills add https://github.com/g1joshi/agent-skills --skill lazygit
Agent 安装分布
mcpjam
1
claude-code
1
replit
1
junie
1
zencoder
1
Skill 文档
Lazygit
Lazygit is a TUI for Git. It makes complex operations (interactive rebase, partial staging) accessible via intuitive keyboard shortcuts.
When to Use
- Staging: Staging individual lines/hunks (
Space). - Rebasing: Drag-and-drop commits to reorder them (via keybindings).
- Conflict Resolution: A clear 3-way view to pick “Ours” or “Theirs”.
Core Concepts
Panels
Status, Files, Local Branches, Commits, Stash. Navigate with h/l or arrows.
Keybindings
c: CommitP: Pushp: Pulls: Stage
Custom Commands
Define custom actions in config.yml (e.g. “Create PR”).
Best Practices (2025)
Do:
- Interactive Rebase: Press
ion a past commit to fix it up. - Filter: Press
/to filter branches or files. - Bisect: Use the built-in bisect wizard to find bugs.
Don’t:
- Don’t fear the CLI: Lazygit is a wrapper. Understanding underlying git concepts is still needed.