GitHub CLI
GitHub CLI is a command-line tool that provides a more powerful and efficient way to work with GitHub repositories. It allows developers to perform common tasks, such as creating pull requests and managing issues, without leaving the command line. GitHub CLI is available for Windows, macOS, and Linux.
Example:
# Create a new branch and switch to it
gh repo checkout https://github.com/your-username/repository-name --branch new-feature
# Create a new pull request
gh pr create --title "New feature" --body "Description of new feature" --base main --head new-feature
# Close an issue
gh issue close 123
No comments:
Post a Comment