Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1022 Bytes

github-cli-cheatsheet.md

File metadata and controls

53 lines (42 loc) · 1022 Bytes
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
github-cli-cheatsheet
github
public
2022-08-01 07:03:00 -0700
2022-08-01 07:03:00 -0700
false
20220801140300
false
false
github
gh
cli
git
cheatsheet
GitHub CLI Cheatsheet
tech-note
# View issue:
gh issue view --repo <org>/<repo> 6396

# View issue in browser:
gh issue view --repo <org>/<repo> 6396 --web

# Add a comment to an issue in browser:
gh issue comment --repo <org>/<repo> 6395 --web

# View list of repos for myself:
gh repo list

# View list of repos for an organisation:
gh repo list <org>

# Open repository browser:
gh repo view <org>/configuration --web

# View list of secrets:
gh secret --repo <org>/<repo> list

# Create secret:
gh secret --repo <org>/<repo> set AAS_PUBLISH_PROFILE

# Delete secret:
gh secret --repo <org>/<repo> delete AAS_PUBLISH_PROFILE

# Clone repo:
gh repo clone <org>/<repo>