feat(shortcut): 新增 commit 命令模块(提交历史/diff/blame) #403

Closed
chroe wants to merge 0 commits from chroe/gitlink-cli:feat/commit-shortcut into master
Contributor

为 gitlink-cli 新增 commit 命令模块,支持提交历史浏览:

  • commit +list 列出仓库提交历史
  • commit +view 查看指定提交详情
  • commit +diff 查看提交 diff
  • commit +blame 查看文件 blame

遵循 common.Shortcut 规范,复用 RuntimeContext。含单元测试。

为 gitlink-cli 新增 commit 命令模块,支持提交历史浏览: - commit +list 列出仓库提交历史 - commit +view 查看指定提交详情 - commit +diff 查看提交 diff - commit +blame 查看文件 blame 遵循 common.Shortcut 规范,复用 RuntimeContext。含单元测试。
chroe added 2 commits 2026-07-09 23:37:02 +08:00
5650bba180 feat(shortcut): add commit shortcuts (list/view/diff/blame)
新增 commit 命令模块,支持提交历史浏览:
- commit +list   列出仓库提交历史
- commit +view   查看指定提交详情
- commit +diff   查看提交 diff
- commit +blame  查看文件 blame

遵循 common.Shortcut 规范,复用 RuntimeContext。
含单元测试 shortcuts/commit/commit_test.go。
wbtiger closed this pull request 2026-07-14 22:55:53 +08:00
wbtiger reopened this pull request 2026-07-14 23:01:44 +08:00
wbtiger closed this pull request 2026-07-14 23:04:19 +08:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gitlink/gitlink-cli#403
No description provided.