open-repo is a command-line tool that quickly opens the remote page of your current Git repository (supporting GitHub and GitLab) in your default browser.
- Open repository main page
- Open specific issues (Github only)
- Open specific pull requests (Github only)
- Open issues list or pull requests list (Github only)
Execute the following commands under any local directory of a GitHub or GitLab repository:
open_repo
open_repo --issue ISSUE_NUMBER
open_repo --pull PR_NUMBER
open-repo --issue
open-repo --pull
⚠️ Caution
Don't use --pull
and --issue
arguments at the same time.
open_repo --pull PR_NUMBER --issue ISSUE_NUMBER # Don't do this!
If used in a non-Git repository directory, the tool will display an error message and exit.
Issues and pull requests are welcome to help improve this project.
This project is licensed under the MIT License. See the LICENSE file for details.