Skip to content

gtl open

Open repository URL in browser; defaults to your fork/origin and uses 'up' for upstream; GitHub and GitLab remotes also support PR/MR and latest run shortcuts

Aliases

o

Usage

bash
gtl open [url-or-number|pr|prs|myprs|run [branch|pr|number|url]|i <issue-number>] [flags]

Examples

bash
gtl o
  gtl o up
  gtl o pr
  gtl o prs
  gtl o myprs
  gtl o run
  gtl o run feature/my-branch
  gtl o run pr
  gtl o run 18238
  gtl o 123
  gtl o i 456
  gtl o https://github.com/owner/repo/pull/123

Full Help

text
Open repository URL in browser; defaults to your fork/origin and uses 'up' for upstream; GitHub and GitLab remotes also support PR/MR and latest run shortcuts

Usage:
  gtl open [url-or-number|pr|prs|myprs|run [branch|pr|number|url]|i <issue-number>] [flags]

Aliases:
  open, o

Examples:
gtl o
  gtl o up
  gtl o pr
  gtl o prs
  gtl o myprs
  gtl o run
  gtl o run feature/my-branch
  gtl o run pr
  gtl o run 18238
  gtl o 123
  gtl o i 456
  gtl o https://github.com/owner/repo/pull/123

Flags:
  -h, --help   help for open
      --up     Use upstream remote instead of origin

Released under the MIT License.