All apps/ghq

ghq

ghq

Organizes remote repository clones under a common root.

Runs as ghq|macOS, Linux, Windows|github.com

Command form

ai-draft · 4 tasks · 14 fields

Clone, list and create repositories under the ghq root.

Opens the form; the finished command lands at your prompt, unrun
otty gui ghq

ghq get

Clone a repository

Clone or sync a remote repository into the ghq root.

Clone a repositoryExample values, fixed in this page — nothing here reaches a terminal
Basic
Repository*
string
Clone with SSH
-p
Shallow clone
--shallow
TasksEach one presets the form for one job
Clone
repositoryshallowssh
Clone or update
repositoryupdate
ParametersOnly these flags are editable in the form
Repository
URL, user/project or host/user/project.
string · positional 0
Update if already cloned
boolean
--update-u
Clone with SSH
boolean
-p
Shallow clone
boolean
--shallow
Branch
string
--branch-b
Open after clone
boolean
--look-l
Bare clone
boolean
--bare
VCS backend
string
--vcs

ghq list

List repositories

List repositories under the ghq root.

List repositoriesExample values, fixed in this page — nothing here reaches a terminal
Basic
Query
string
Full paths
--full-path
TasksEach one presets the form for one job
List
queryfull_path
ParametersOnly these flags are editable in the form
Query
string · positional 0
Exact match
boolean
--exact-e
Full paths
boolean
--full-path-p
Unique subpaths
boolean
--unique

ghq create

Create a repository

Create a new repository under the ghq root.

Create a repositoryExample values, fixed in this page — nothing here reaches a terminal
Basic
Project*
string
TasksEach one presets the form for one job
Create
project
ParametersOnly these flags are editable in the form
Project
project, user/project or host/user/project.
string · positional 0
VCS backend
string
--vcs
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed ghq against its version. A form that does not match your version is not offered.