ghq
- Go CLI that clones and organizes remote Git repositories under a predictable directory layout (“remote repository management made easy”).
- Configuration lives in git/.gitconfig (
ghq.root, host-specific paths, etc.) rather than a separate project config file. - Installable via Brew (
brew "ghq"); listed in Person/lv416e/GitHub/dotfiles dot_Brewfile.tmpl. Basic use
With ghq how can you synchronize or fetch a repo? Card
- Run
ghq get --update to fetch and update all tracked repos under ghq.root. - Or
ghq get <url> to clone a specific remote repository.
With ghq, how can you find the path to the directory that all repos are found underneath? Card
Related
- Person/codekiln/GitHub/sourcer — similar problem space (canonical clone paths,
get / list workflows); sourcer was not published after finding ghq. ghq is Go and git-config-driven; sourcer sketches were Rust with an explicit allow-list config file.