🆓 永久免费 — 由开源许可证保障

这里的每个工具都是开源软件;其许可证保障了使用与再分发的权利。本镜像正是这一承诺的实践:提供每个软件包发布至少 2 个月的最新版本,永久免费 — 无需账号,无需认证。
安全修复与补丁会立即发布。想在上游发布后数小时内获得每个版本?请使用主仓库 deb.griffo.io。🚀

💬 有问题或建议?加入我们的 Discord 社区 — 获取帮助的最佳去处。

🐢 安装最新的 lazygit 在 Debian 上

Simple terminal UI for git commands

⏳ 尚未加入免费镜像 — 可从主仓库 deb.griffo.io 获取
lazygit 尚未加入免费镜像。免费镜像目前提供 Ghostty、Zed 和 Oh My Posh,更多工具即将加入。请从主仓库 deb.griffo.io获取 lazygit — 每个版本在上游发布后数小时内可用。
来源版本
deb.griffo.io (main)0.63.1 ✅
官方 Debian0.57.0 🛑
← 返回首页

什么是 lazygit?

lazygit is a git 命令的简单终端 UI created by Jesse Duffield. It transforms complex Git operations into intuitive visual interactions, making version control accessible and efficient for developers of all skill levels. With over 63k GitHub stars, it's become the go-to Git TUI for developers worldwide.

😤 Git Pain Points Solved: Tired of editing TODO files for interactive rebasing? Frustrated with arcane patch files for staging? Fed up with complex command-line Git workflows? lazygit makes Git operations visual, intuitive, and actually enjoyable to use.
🚀 Why Latest Versions Matter: lazygit is actively developed with frequent releases containing new features, performance improvements, and workflow enhancements. The latest versions include improved interactive rebasing, better conflict resolution, enhanced custom commands, and critical bug fixes.

⚡ Key Features of lazygit

📝 Visual Staging

Stage individual lines or hunks with simple keystrokes. No more complex patch editing - just press space to stage what you want.

🔄 Interactive Rebasing

Squash, fixup, drop, edit, and reorder commits with intuitive keyboard shortcuts. No TODO file editing required.

🍒 Cherry-picking

Copy and paste commits between branches with shift+c and shift+v. Visual commit selection and application.

🔍 Git Bisect

Visual git bisect interface to find problematic commits quickly. Mark commits as good/bad with simple keystrokes.

🌳 Worktrees

Create and manage Git worktrees to work on multiple branches simultaneously without stashing or WIP commits.

⚙️ Custom Commands

Extensible custom command system to add your own Git workflows and shortcuts directly into the interface.

🚀 永久免费,安全修复立即发布:Debian 和 Ubuntu 在发布时会冻结软件包版本——本免费镜像提供发布至少 2 个月的最新版本,永久免费;安全修复立即发布。如需在上游发布后数小时内获取每个版本,请使用主仓库 deb.griffo.io。只需 apt upgrade 即可获取免费通道内的最新构建。

📦 从 deb-free.griffo.io 安装

步骤 1:添加仓库

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null apt update

步骤 2:安装 lazygit

# Install latest lazygit sudo apt install lazygit # Verify installation lazygit --version
# Install latest lazygit apt install lazygit # Verify installation lazygit --version

🎯 基本使用示例

Launch lazygit:

# Start lazygit in current Git repository lazygit # Create alias for convenience echo "alias lg='lazygit'" >> ~/.bashrc source ~/.bashrc # Now use the alias lg

Essential keybindings:

# Navigation j/k or ↑/↓ - Move up/down h/l or ←/→ - Switch between panels tab - Next panel shift+tab - Previous panel # Staging space - Stage/unstage file or hunk a - Stage all changes in file v - Start visual selection # Commits c - Commit staged changes shift+c - Copy commit (cherry-pick) shift+v - Paste commit # Rebasing i - Start interactive rebase s - Squash commit f - Fixup commit d - Drop commit

Advanced workflows:

# Undo/Redo z - Undo last action ctrl+z - Redo last undone action # Worktrees w - Create worktree from branch # Filtering / - Filter current view # Custom commands : - Open custom command prompt

🚀 为什么选择 deb-free.griffo.io?

📊 Version Comparison:
  • Official Debian Trixie/Sid: Available but often outdated
  • Debian Bookworm: Not available in official repositories
  • deb.griffo.io (main): Latest version available immediately

📦 软件包构建仓库

Debian 软件包在此 GitHub 仓库中自动构建和维护:

🔗 相关软件包

也可从 deb-free.griffo.io 获取:

🎯 Perfect for: Developers who want to make Git operations visual and intuitive, teams looking to improve Git workflows, anyone frustrated with complex Git command-line operations, and users who prefer TUI applications.

📦 deb.griffo.io(主仓库)最近发布

❓ 常见问题

lazygit 在官方 Debian 软件源中吗?

在 — 官方 Debian 源提供 lazygit 0.57.0。本免费镜像提供发布至少 2 个月的最新 lazygit 版本,永久免费;主仓库 deb.griffo.io 在上游发布后数小时内提供每个版本。

如何在 Debian 上安装最新版 lazygit?

按上方说明一次性添加 deb-free.griffo.io 仓库,然后运行:sudo apt install lazygit。之后通过常规的 sudo apt upgrade 获取新版本。

软件包是否有签名?如何构建?

每个软件包都使用仓库的 GPG 密钥(EA0F721D231FDD3A0A17B9AC7808B4DD62C41256)签名,并基于上游发布在公开的 GitHub 仓库中构建,任何人都可以审查。

支持哪些 Debian 版本?

Debian 12 Bookworm、Debian 13 Trixie、Forky 和 Sid。