hub-browse(1)

hub-browse(1) πŸ’–βœ¨

okay so bestie, this is hub-browse(1) from the hub manual, and it's literally the command that opens a GitHub repository in a web browser. no cap, it's giving β€œI just want to see the repo without typing a URL like a peasant.” πŸ’…

NAME 🌸

hub-browse β€” open a GitHub repository in a web browser. periodt. πŸ’–

SYNOPSIS πŸŽ€

hub browse [-uc] [[USER/]REPOSITORY|--] [SUBPAGE]

this is the exact shape of it, bestie. copy it verbatim and you're vibing. ✨

OPTIONS πŸ’…

  • -u, --url β€” print the URL instead of opening it. so you can just look at the link, lowkey iconic.
  • -c, --copy β€” put the URL in clipboard instead of opening it. clipboard main character energy, fr fr.
  • [USER/]REPOSITORY β€” defaults to repository in the current working directory. convenient? yes. magical? also yes. πŸ¦‹
  • SUBPAGE β€” one of "wiki", "commits", "issues", or other (default: "tree"). iykyk. 🌈

EXAMPLES πŸ“

like, watch this bestie:

$ hub browse
> open https://github.com/REPO

$ hub browse -- issues
> open https://github.com/REPO/issues

$ hub browse jingweno/gh
> open https://github.com/jingweno/gh

$ hub browse gh wiki
> open https://github.com/USER/gh/wiki

ate. no notes. πŸ”₯

SEE ALSO 🫢

hub-compare(1), hub(1) β€” go read those too, bestie. they're part of the squad. πŸ‘‘


that's the whole page, bestie πŸŽ€ this one is from hub version 2.14.2 and it's dated 07 Jan 2024. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from