LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gh-alias

GitHub CLI command alias management

TLDR

List aliases
$ gh alias list
copy
Set an alias
$ gh alias set [name] "[command]"
copy
Delete an alias
$ gh alias delete [name]
copy
Set with shell expansion
$ gh alias set --shell [name] "[shell command]"
copy

SYNOPSIS

gh alias command [options]

DESCRIPTION

gh alias manages command aliases for the GitHub CLI. Create shortcuts for frequently used or complex commands to streamline your GitHub workflow.Aliases can simplify multi-step operations, provide shorthand for common tasks, and customize the CLI to match your development patterns. Shell aliases support piping and advanced command composition, while regular aliases work with gh subcommands and flags.

PARAMETERS

--shell

Expand as shell command.

SUBCOMMANDS

list

List defined aliases.
set
Create an alias.
delete
Remove an alias (use --all to remove all).
import
Import aliases from a YAML file (or stdin with `-`).

INSTALL

sudo apt install gh
copy
sudo dnf install gh
copy
sudo pacman -S github-cli
copy
sudo apk add github-cli
copy
sudo zypper install gh
copy
brew install gh
copy
nix profile install nixpkgs#gh
copy

SEE ALSO

gh(1), gh-config(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid