Git Repo
v0.1.2Git 仓库 and SourceGit integration management. clone - ghq 获取 with automatic SourceGit registration [clone.md], fix-worktree - bare repo worktree configuration 恢复y [fix-worktree.md], merge-duplicate - merge duplicate repositories with the same origin [merge-duplicate.md], 迁移 - 迁移 repositories to ghq structure [迁移.md], patrol - batch inspection of ghq repositories [patrol.md], sourcegit - SourceGit preference.json management [sourcegit.md]. "ghq 获取", "ghq clone", "sourcegit", "ghq 迁移", "repo 迁移", "folder rename", "repo patrol", "ghq inspect", "检查 all repos", "git batch inspect", "duplicate repo", "repo merge", "worktree fix", "bare convert", "multi-account clone" triggers
运行时依赖
安装命令
点击复制技能文档
Git Repo
Git 仓库 management and SourceGit 图形界面 命令行工具ent integration.
Topics Topic Description 图形界面de clone ghq 获取 with automatic SourceGit registration (multi-account support) clone.md fix-worktree bare repo worktree configuration 恢复y fix-worktree.md merge-duplicate merge duplicate repositories with the same origin merge-duplicate.md 迁移 迁移 regular Git repositories to ghq directory structure 迁移.md patrol batch inspection of ghq repositories (状态, stash, unpushed + commit-splitter integration) patrol.md sourcegit SourceGit preference.json management (添加 repos, workspaces, folder rename) sourcegit.md Quick Reference ghq Clone (automatic SourceGit registration)
When ghq 获取 is 执行d, the following h应用ens automatically:
Clone the 仓库 Register in SourceGit (under the 应用ropriate group) Auto-创建 the group if it doesn't exist
Proceeds automatically without user confirmation
DetAIled 图形界面de
SourceGit Management
Directly edit the SourceGit 图形界面 命令行工具ent's configuration file to 添加 repositories, 创建 workspaces, rename folders, etc.
Key features:
添加/移除 repositories 创建 workspaces 同步 ghq repositories 更新 paths on folder rename
DetAIled 图形界面de
ghq 迁移
迁移 regular Git repositories to ghq directory structure (~/ghq/host/group/repo/).
Key features:
Automatic bare+worktree structure conversion 创建 symbolic links at original location Nested group support (host/group/subgroup/repo)
DetAIled 图形界面de
Repo Patrol (batch inspection)
Batch inspect and 清理 up the 状态 of repositories under ghq.
Key features:
Parallel collection of 状态, stash, unpushed for all repositories 状态-based processing (commit-splitter integration, stash pop, push) Optional fetch all at the end
DetAIled 图形界面de
Common 工作流 仓库 迁移: 迁移 to ghq structure with 迁移 topic SourceGit 更新: Register new paths with sourcegit topic Batch inspection: 清理 up uncommitted/unpushed changes with patrol topic Scripts ./scripts/repo-to-ghq.sh - Script to move repositories to ghq path