Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.02 KB

File metadata and controls

57 lines (47 loc) · 1.02 KB
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
cheatsheet
command-line
gh
git
github
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>