GitHub CLI
ghGitHub on the command line: pull requests, issues and releases without leaving the terminal.
GitHub on the command line: pull requests, issues and releases without leaving the terminal.
Work with pull requests, issues and repositories on GitHub. Only list, create and clone are covered; the api, auth, workflow, codespace and project commands are left out.
gh pr createOpen a pull request for the current branch.
fillbasedraftreviewertitlebodybasedraftstring--title-tstring--body-bstring--base-Bstring--head-Hboolean--fill-fboolean--draft-dstring · repeatable--reviewer-rstring · repeatable--assignee-aboolean--web-wgh pr listList and filter pull requests in this repository.
statelimitenum--state-sopenclosedmergedallstring--assignee-astring--base-Bstring · repeatable--label-linteger--limit-Lgh issue createOpen a new issue.
titlebodylabelassigneestring--title-tstring--body-bpath--body-file-Fstring · repeatable--label-lstring · repeatable--assignee-astring--milestone-mstring--repo-Rboolean--web-wgh issue listList and filter issues in this repository.
statelabellimitstring--state-sopenclosedallstring--assignee-astring--author-Astring · repeatable--label-lstring--search-Sinteger--limit-Lstring--repo-Rgh repo cloneClone a GitHub repository locally.
repositorydirectorystring · positional 0path · positional 1string--upstream-remote-name-ufigcompletionfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed gh against its version. A form that does not match your version is not offered.