Linux command
hub-browse 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Open repo in browser
hub browse
Open issues page
hub browse -- issues
Open pull requests
hub browse -- pulls
Open specific issue
hub browse -- issues/[123]
Open wiki
hub browse -- wiki
Open different repo
hub browse [owner/repo]
Print URL instead of opening browser
hub browse -u
Copy URL to clipboard
hub browse -c
说明
hub browse opens the GitHub repository page in your web browser. You can specify subpages like issues, pulls, wiki, commits, or specific file paths. Works with the current repository by default or specify another repo.
参数
- -u, --url
- Print URL instead of opening browser.
- -c, --copy
- Copy URL to clipboard.
- --
- Separator for subpage path.
FAQ
What is the hub-browse command used for?
hub browse opens the GitHub repository page in your web browser. You can specify subpages like issues, pulls, wiki, commits, or specific file paths. Works with the current repository by default or specify another repo.
How do I run a basic hub-browse example?
Run `hub browse` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u, --url do in hub-browse?
Print URL instead of opening browser.