gh browse

Open a GitHub repository in the browser or print the URL. More information: https://cli.github.com/manual/gh_browse.

gh browse

gh browse {{owner}}/{{repository}}

gh browse {{[-s|--settings]}}

gh browse {{[-w|--wiki]}}

gh browse {{issue_number|pull_request_number}}

gh browse {{[-b|--branch]}} {{branch_name}}

gh browse {{path/to/file_or_directory}}

gh browse {{[-n|--no-browser]}}