magyarcég
Civil szervezet
GitHub CLI
  • Civil szervezet

GitHub CLI

Command-line interface for GitHub workflows.

  • Core GitHub workflow management via terminal (issues, PRs, releases)
  • Authentication and configuration management
  • Codespaces interaction and management
  • Repository and Gist operations (clone, create, view)
  • GitHub Actions workflow control

Bemutatkozás

GitHub CLI brings GitHub to your terminal, enabling users to manage repository concepts such as pull requests, issues, and releases without leaving the command line environment. It is free and open source software. The tool supports scripting and customization through aliases and direct API calls, and it is enterprise-ready, connecting to GitHub Enterprise Server versions 2.20 and above. Users can authenticate using `gh auth login` or the GITHUB_TOKEN environment variable, and configure settings like the preferred editor via `gh config set editor`.

Szolgáltatások, tevékenységek

  • Installation via brew install gh (Mac)
  • Download for Windows
  • Install for Linux
  • View and filter a repository’s open issues (gh issue list)
  • Check on the status of your pull requests (gh pr status)
  • Check out pull requests locally (gh pr checkout)
  • Create a new pull request (gh pr create)
  • View your pull requests’ checks (gh pr checks)
  • Create a new release (gh release create)
  • View repository READMEs (gh repo view)
  • Create a shortcut for a gh command (gh alias set)
  • Authenticate with GitHub account (gh auth login)
  • Logout from GitHub (gh auth logout)
  • Refresh authentication token (gh auth refresh)
  • Setup git configuration (gh auth setup-git)
  • Check authentication status (gh auth status)
  • Switch authentication context (gh auth switch)
  • Get authentication token (gh auth token)
  • Browse GitHub in the default web browser (gh browse)
  • Manage local cache (gh cache)
  • Work with GitHub Codespaces (gh codespace)
  • View, create, edit, or delete gists (gh gist)
  • Manage issues (gh issue)
  • Manage organizations (gh org)
  • Manage pull requests (gh pr)
  • Manage projects (gh project)
  • Manage releases (gh release)
  • Manage repositories (gh repo)
  • Manage GitHub Actions runs (gh run)
  • Manage GitHub Actions workflows (gh workflow)
  • Execute API calls (gh api)
  • Verify attestation (gh attestation verify)
  • Generate shell completion scripts (gh completion)
  • Configure GitHub CLI settings (gh config)
  • Manage extensions (gh extension)
  • Manage GPG keys (gh gpg-key)
  • Manage labels (gh label)
  • Manage repository rulesets (gh ruleset)
  • Search GitHub (gh search)
  • Manage secrets (gh secret)
  • Manage SSH keys (gh ssh-key)
  • Manage environment variables (gh variable)
  • Clone a repository (gh repo clone)
  • Rename a local repository (gh repo rename)
  • Add a GPG key (gh gpg-key add)
  • Get help for a command (gh help)
  • Manage environment variables for workflows (gh environment)
  • Close an issue (gh issue close)
  • Add a comment to an issue or PR (gh issue comment)
  • Develop an issue (gh issue develop)
  • Lock a conversation (gh issue lock)
  • Pin an issue (gh issue pin)
  • Reopen an issue (gh issue reopen)
  • Transfer an issue (gh issue transfer)
  • Unlock a conversation (gh issue unlock)
  • Unpin an issue (gh issue unpin)
  • Apply a label to an issue or PR (gh label apply)
  • Checkout a pull request (gh pr checkout)
  • View pull request checks (gh pr checks)
  • View pull request diff (gh pr diff)
  • Merge a pull request (gh pr merge)
  • Mark a PR as ready for review (gh pr ready)
  • Revert a pull request (gh pr revert)
  • Review a pull request (gh pr review)
  • Update a pull request branch (gh pr update-branch)
  • Create a project item (gh project item-create)
  • Delete a project item (gh project item-delete)
  • Edit a project item (gh project item-edit)
  • List project items (gh project item-list)
  • Link a project item (gh project link)
  • Unlink a project item (gh project unlink)
  • Delete a release asset (gh release delete-asset)
  • Upload an asset to a release (gh release upload)
  • Verify a release asset (gh release verify-asset)
  • Archive a repository (gh repo archive)
  • Create an autolink reference (gh repo autolink create)
  • Delete an autolink reference (gh repo autolink delete)
  • List autolink references (gh repo autolink list)
  • View an autolink reference (gh repo autolink view)
  • Add a deploy key (gh repo deploy-key add)
  • Delete a deploy key (gh repo deploy-key delete)
  • List deploy keys (gh repo deploy-key list)
  • Fork a repository (gh repo fork)
  • View or set a gitignore template (gh repo gitignore)
  • View or set a license template (gh repo license)
  • Set default repository settings (gh repo set-default)
  • Sync repository settings (gh repo sync)
  • Unarchive a repository (gh repo unarchive)
  • Check a ruleset (gh ruleset check)
  • Cancel a workflow run (gh run cancel)
  • Rerun a workflow run (gh run rerun)
  • Watch a repository (gh repo watch)
  • View commits (gh repo commits)
  • View issues (gh repo issues)
  • View pull requests (gh repo prs)
  • View repositories (gh repo repos)
  • Create or update a repository secret (gh repo secret create)
  • Delete a repository secret (gh repo secret delete)
  • List repository secrets (gh repo secret list)
  • Create or update a repository variable (gh repo variable create)
  • Delete a repository variable (gh repo variable delete)
  • List repository variables (gh repo variable list)
  • Disable a workflow (gh workflow disable)
  • Enable a workflow (gh workflow enable)
  • Execute a command in a codespace (gh codespace exec)
  • View codespace logs (gh codespace logs)
  • Forward ports in a codespace (gh codespace ports forward)
  • Set codespace port visibility (gh codespace ports visibility)
  • Rebuild a codespace (gh codespace rebuild)
  • SSH into a codespace (gh codespace ssh)
  • Stop a codespace (gh codespace stop)
  • Create a new gist (gh gist create)
  • Delete a gist (gh gist delete)
  • List gists (gh gist list)
  • View a gist (gh gist view)
  • Add a label to an issue or PR (gh label add)
  • Delete a label (gh label delete)
  • List labels (gh label list)
  • Set default host (gh config set default-host)
  • Clear cache (gh config clear-cache)
  • Get a configuration value (gh config get)
  • Install an extension (gh extension install)
  • Remove an extension (gh extension remove)
  • Search for extensions (gh extension search)
  • Upgrade extensions (gh extension upgrade)
  • Add a repository SSH key (gh repo ssh-key add)
  • Delete a repository SSH key (gh repo ssh-key delete)
  • List repository SSH keys (gh repo ssh-key list)
  • Show gh version (--version)