GitHub CLI
GitHub CLI is a command-line tool that lets you interact with GitHub directly from your terminal. It brings core GitHub features—such as managing repositories, issues, pull requests, and workflow runs—into the shell, so you can perform common GitHub tasks without switching to a web browser. It’s maintained by GitHub and is open source, available for macOS, Windows, and Linux. [perplexity.ai]
GitHub CLI是一个命令行工具,让您可以直接从终端与GitHub互动。它将核心GitHub功能——如管理仓库、问题、拉取请求和工作流运行——集成到shell中,因此您可以在不切换到网页浏览器的情况下执行常见的GitHub任务。它由GitHub维护,开源,适用于macOS、Windows和Linux。 [perplexity.ai]
install
# Arch
sudo pacman -S github-cli
# Windows 10
scoop install gh
config
# Windows 10
set "GH_CONFIG_DIR=%USERPROFILE%\.config\gh"
usage
gh auth login
gh extension install <user/repo>
gh extension remove <user/repo>
cross-reference
mark
extra
resource
later
- #download gh-install
- #pr gh-combine-prs
- gh describe
- gh-slimify
cache
- #action gh-actions-cache
- #action gh-actions-status
- #branch Clean Branches
- #branch gh branch
- #branch gh-home
- #branch poi
- #brower gh repo-explore
- #changelog gh-cl
- #chat gh chat
- #contrib gh contrib
- #contrib gh-contribs
- #contrib gh-graph
- #download gh-cp
- #download gh-get-asset
- #hook gh-hook
- #ignore gh gitignore
- #issue gh label
- #issue gh-iz
- #issue gh-workon
- #milestone gh milestone
- #notify gh-notify
- #org gh-org-browse-repo
- #org gh-org-users
- #other gh-inspire
- #other gh-timer
- #pr auto
- #pr gh-dash
- #pr gh-difftool
- #preview gh markdown-preview
- #pull gh-pulls
- #release gh bump
- #release GitHub Releaser
- #repo gh validate-repo
- #repo gh-f
- #repo gh-gr
- #repo gh-repo-fzf
- #repo GitHub Archive
- #save gh fire
- #search gh-fzrepo
- #search gh-s
- #star gh-star
- #star gh-user-stars
- #status gh user-status
- #token GH Token
- #upload ghr
- #upload github-release
- #user gh-eco
- #user gh-profile
- #user gh-userfetch
- gh gp
- gh-grep
- gh-look
- gh-ls
- gh-oblique
- gh-screensaver
- gh-semver
- gh-sql