A tool for opening the right thing in the right place.
- Opens the repository's web page for the current branch (PR page if on a PR branch)
- Opens commit URLs (e.g.,
open 297b17b35) - Detects PR numbers in commit messages and opens the PR directly
- Opens PRs by number (e.g.,
open 123) - Falls back to standard macOS
openbehavior for non-Git paths --printflag to output the URL without opening
All arguments are optional.
brew install dsully/tap/magic-openercargo install --git https://github.com/dsully/magic-openernix profile install github:dsully/magic-openeropen [--print] [path|commit|pr-number]