Repository
-
repo-list
Lists all GitHub repositories of the authenticated user.
ghc repo-list
This command lists all the public repositories for the currently logged-in user.
-
repo-create
Creates a new GitHub repository.
ghc repo-create
This command will prompt you to enter the necessary details (such as repository name and description) and will create a new repository in your GitHub account.
-
repo-update
Updates an existing GitHub repository.
ghc repo-update
Use this command to update repository details like its name, description, visibility and more.
-
repo-delete
Deletes a GitHub repository.
ghc repo-delete
dangerWarning: This action is irreversible and will delete all data associated with the repository.
warningNote: Make sure provied PAT has delete repository scope or admin rights to the repository.
-
repo-star
Stars a GitHub repository.
ghc repo-star
Star a repository to show support or mark it for later reference.
-
repo-unstar
Unstars a GitHub repository.
ghc repo-unstar
Unstar a repository to remove it from your list of starred repositories.
-
repo-fork
Forks a GitHub repository.
ghc repo-fork
This command forks a repository to your GitHub account, allowing you to make changes independently.
-
repo-traffic
Gets traffic information for a GitHub repository.
ghc repo-traffic
Use this command to view traffic statistics such as page views and unique visitors for your repository.
-
repo-clone
Clones a GitHub repository.
ghc repo-clone
Clone a repository to your local machine using this command. It is ideal for downloading the code and contributing to open-source projects.
warningNote: Make sure your terminal has Git installed and configured.
-
repo-info
Gets detailed information about a GitHub repository.
ghc repo-info
Retrieve information such as the repository’s name, description, owner, and more using this command.
-
repo-actions
Lists GitHub Actions for a GitHub repository.
ghc repo-actions
Use this command to see a list of GitHub Actions (such as CI/CD pipelines) configured for a repository.