GitHub CLI Aliases
Aliases for GitHub CLI commands from Functions/gh.ps1.
Issue
| Alias |
Command |
ghil |
gh issue list |
ghiv |
gh issue view |
Pull Request
| Alias |
Command |
ghprc |
gh pr create |
ghprcf |
gh pr create --fill |
ghprco |
gh pr checkout |
ghprd |
gh pr diff |
ghprl |
gh pr list |
ghprm |
gh pr merge |
ghprmd |
gh pr merge --delete-branch |
ghprr |
gh pr ready |
ghprs |
gh pr status |
ghprurl |
gh pr view --json url --jq .. |
ghprv |
gh pr view |
ghprck |
gh pr checks |
Quick PR URL
Use ghprurl to grab the current PR's URL for pasting into Slack, Teams, or commit messages.
Repository
| Alias |
Command |
ghrcl |
gh repo clone |
ghrfk |
gh repo fork |
ghrsy |
gh repo sync |
ghrv |
gh repo view |
Run (GitHub Actions)
| Alias |
Command |
ghrnl |
gh run list |
ghrnv |
gh run view |
ghrnw |
gh run watch |
ghrnrr |
gh run rerun |
Status
| Alias |
Command |
ghst |
gh status |