跳至内容
CLI
手册
发行说明
入门
gh
alias
delete
import
list
set
api
attestation
download
trusted-root
verify
auth
login
logout
refresh
setup-git
status
switch
token
browse
cache
delete
list
codespace
code
cp
create
delete
edit
jupyter
list
logs
ports
ports forward
ports visibility
rebuild
ssh
stop
view
completion
config
clear-cache
get
list
set
extension
browse
create
exec
install
list
remove
search
upgrade
gist
clone
create
delete
edit
list
rename
view
gpg-key
add
delete
list
help
environment
exit-codes
formatting
mintty
reference
issue
close
comment
create
delete
develop
edit
list
lock
pin
reopen
status
transfer
unlock
unpin
view
label
clone
create
delete
edit
list
org
list
pr
checkout
checks
close
comment
create
diff
edit
list
lock
merge
ready
reopen
review
status
unlock
update-branch
view
project
close
copy
create
delete
edit
field-create
field-delete
field-list
item-add
item-archive
item-create
item-delete
item-edit
item-list
link
list
mark-template
unlink
view
release
create
delete-asset
delete
download
edit
list
upload
view
repo
archive
clone
create
delete
deploy-key
deploy-key add
deploy-key delete
deploy-key list
edit
fork
list
rename
set-default
sync
unarchive
view
ruleset
check
list
view
run
cancel
delete
download
list
rerun
view
watch
search
code
commits
issues
prs
repos
secret
delete
list
set
ssh-key
add
delete
list
status
variable
delete
get
list
set
workflow
disable
enable
list
run
view
CLI 手册
入门
gh
alias
delete
import
list
set
api
attestation
download
trusted-root
verify
auth
login
logout
refresh
setup-git
status
switch
token
browse
cache
delete
list
codespace
code
cp
create
delete
edit
jupyter
list
logs
ports
ports forward
ports visibility
rebuild
ssh
stop
view
completion
config
clear-cache
get
list
set
extension
browse
create
exec
install
list
remove
search
upgrade
gist
clone
create
delete
edit
list
rename
view
gpg-key
add
delete
list
help
environment
exit-codes
formatting
mintty
reference
issue
close
comment
create
delete
develop
edit
list
lock
pin
reopen
status
transfer
unlock
unpin
view
label
clone
create
delete
edit
list
org
list
pr
checkout
checks
close
comment
create
diff
edit
list
lock
merge
ready
reopen
review
status
unlock
update-branch
view
project
close
copy
create
delete
edit
field-create
field-delete
field-list
item-add
item-archive
item-create
item-delete
item-edit
item-list
link
list
mark-template
unlink
view
release
create
delete-asset
delete
download
edit
list
upload
view
repo
archive
clone
create
delete
deploy-key
deploy-key add
deploy-key delete
deploy-key list
edit
fork
list
rename
set-default
sync
unarchive
view
ruleset
check
list
view
run
cancel
delete
download
list
rerun
view
watch
search
code
commits
issues
prs
repos
secret
delete
list
set
ssh-key
add
delete
list
status
variable
delete
get
list
set
workflow
disable
enable
list
run
view
gh repo
使用 GitHub 仓库。
通用命令
gh repo create
gh repo list
目标命令
gh repo archive
gh repo clone
gh repo delete
gh repo deploy-key
gh repo edit
gh repo fork
gh repo rename
gh repo set-default
gh repo sync
gh repo unarchive
gh repo view
示例
$
gh repo create
$
gh repo clone cli/cli
$
gh repo view
--web
另请参阅
gh