← 返回命令列表

Linux command

gh-org 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List organizations

gh org list

View organization

gh org view [orgname]

List organization members

gh api orgs/[orgname]/members

说明

gh org manages GitHub organization information from the command line. It provides access to organization membership, details, and settings for organizations you belong to. The command enables viewing organization information without visiting github.com. For more complex organization management like team operations and member management, the gh api command provides full API access.

参数

list
List organizations you belong to.
view _ORGNAME_
View organization details.
--help
Display help information.

FAQ

What is the gh-org command used for?

gh org manages GitHub organization information from the command line. It provides access to organization membership, details, and settings for organizations you belong to. The command enables viewing organization information without visiting github.com. For more complex organization management like team operations and member management, the gh api command provides full API access.

How do I run a basic gh-org example?

Run `gh org list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in gh-org?

List organizations you belong to.