Ghq: Remote repository management made easy
Ghq is a tool designed to manage remote repository clones efficiently. It organizes cloned repositories under a specified root directory, allowing users to easily list, create, and remove repositories. The tool supports various commands and options for cloning, including shallow and bare clones, and can handle both Git and Mercurial repositories.
- ▪Ghq organizes remote repository clones under a specified root directory, defaulting to ~/ghq.
- ▪Users can clone repositories using the 'ghq get' command, which also supports options like '--shallow' and '--bare'.
- ▪The tool allows listing of local repositories and provides commands for creating, removing, and migrating repositories.
Opening excerpt (first ~120 words) tap to expand
ghq(1) NAME ghq - Manage remote repository clones DESCRIPTION 'ghq' provides a way to organize remote repository clones, like go get does. When you clone a remote repository by ghq get, ghq makes a directory under a specific root directory (by default ~/ghq) using the remote repository URL’s host and path. $ ghq get https://github.com/x-motemen/ghq # Runs `git clone https://github.com/x-motemen/ghq ~/ghq/github.com/x-motemen/ghq` You can also list local repositories (ghq list).
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.