Files
cheatsheet-tldr/tldr/hub-browse

22 lines
629 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hub browse
> Open a GitHub repository in the browser or print the URL.
> More information: <https://cli.github.com/manual/hub_browse>.
- Open the homepage of the current repository in the default web browser:
`hub browse`
- Open the homepage of a specific repository in the default web browser:
`hub browse {{owner}}/{{repository}}`
- Open the subpage of a specific repository in the default web browser, subpage can be "wiki", "commits", "issues", or other (default: "tree"):
`hub browse {{owner}}/{{repository}} {{subpage}}`