Repository Management

Managing repositories from the command line with the GitHub CLI.

Using GitHub CLI for repository management allows you to streamline tasks and work more efficiently. ou can use GitHub CLI to manage repositories with the following commands:

  • gh repo create: Create a new repository.
  • gh repo delete: Delete an existing repository.
  • gh repo visibility: Change the repository's visibility (public or private).
  • gh repo topic: Manage topic labels for a repository.

Free Resources

official: