Command Reference

GitHub CLI (gh)

Read Operations

View Token

gh auth token

View Auth Status

gh auth status

Search Repo by Owner

gh search repos --owner <USERNAME>

Search Repo without any flags

gh repo list

List secrets

gh secret list

List all open PRs

gh pr list

Copy PR from Web to local

View difference in PR

Write Operations

Authentication with PAT

Create secret

Create pull request from local

Merge PR from local

Git CLI (git)

Read Operations

TBC

Write Operations

Create a new branch

Switch branch

Add files to GIT

Commit

Push to GitHub web

Push changes from another branch

Pull Origin Branch (In Cases of Difference)

Rebase Branch

Clone Repo

Last updated