ghq
Manage remote repository clones organized by hostname and path. More information: https://github.com/x-motemen/ghq.
- Clone a repository under the
ghqroot directory (default is~/ghq):
ghq get
- Clone a repository from a user/project format (defaults to GitHub):
ghq get /
- Clone a repository and
cdinto it:
ghq get --look
- Clone a repository via SSH:
ghq get / -p
- Update an existing repository to the latest version:
ghq get -u
- List all locally cloned repositories:
ghq list
- List locally cloned repositories with full paths:
ghq list --full-path
- Remove a locally cloned repository:
ghq rm /
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
