返回顶部
g

git-quickGit快速概览

Show a quick summary of the current git repo — branch, status, recent commits, and contributor stats.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
102
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

git-quick

git-quick

一个轻量级技能,用于显示当前 Git 仓库的快速摘要。

功能

  • - 显示当前分支及跟踪状态
  • 列出已修改/暂存/未跟踪的文件
  • 显示最近 5 次提交
  • 按提交次数显示主要贡献者

使用方法

直接运行脚本:

bash
bash git-quick.sh

或使用简写命令:

bash
bash git-quick.sh --short # 仅显示分支和状态
bash git-quick.sh --commits # 仅显示最近提交
bash git-quick.sh --stats # 仅显示贡献者统计

输出示例

=== Git 快速摘要 ===
分支:main(与 origin/main 保持同步)

--- 状态 ---
M src/app.ts
A src/utils.ts
?? config.local.json

--- 最近提交 ---
a1b2c3d feat: 添加用户认证模块 (2 小时前)
e4f5g6h fix: 解决登录重定向循环 (5 小时前)
i7j8k9l docs: 更新 API 参考文档 (1 天前)

--- 主要贡献者 ---
alice 42 次提交
bob 28 次提交
carol 15 次提交

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 git-quick-1775898620 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 git-quick-1775898620 技能

通过命令行安装

skillhub install git-quick-1775898620

下载

⬇ 下载 git-quick v1.0.0(免费)

文件大小: 1.95 KB | 发布时间: 2026-4-12 10:06

v1.0.0 最新 2026-4-12 10:06
Initial release of git-quick.

- Displays current branch and tracking status.
- Lists modified, staged, and untracked files.
- Shows the 5 most recent commits.
- Presents top contributors by commit count.
- Supports optional output modes: --short, --commits, --stats.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部