Skip to content

GitHub CLI

Ihar Aliakseyeu edited this page Nov 16, 2022 · 4 revisions

Installation

Download and execute the installer for your operating system from the GitHub CLI public webpage

  • gh --version

  • gh --help

  • gh auth login

GitHub CLI in action

gh issue create --title "Fix magic8.py error" --body "The code for magic8.py uses the Python random library without importing it. This causes issues during runtime."

  • gh issue status

  • solve the issue

    • git checkout -b <issue_branch_name>
    • git add .
    • git commit -a -m “Comment”
    • git push --set-upstream origin <issue_branch_name>
  • gh pr create

test SideBar

Clone this wiki locally