git-open
git-open copied to clipboard
Type `git open` to open the GitHub page or website for a repository in your browser.
```bash $ wget https://registry.npmjs.org/git-open/-/git-open-2.1.0.tgz $ tar -xvzf git-open-2.1.0.tgz $ head -n 25 package/git-open #!/usr/bin/env bash # Use git-sh-setup, similar to git-rebase # https://www.kernel.org/pub/software/scm/git/docs/git-sh-setup.html # https://github.com/git/git/blob/master/git-rebase.sh # shellcheck disable=SC2034 OPTIONS_STUCKLONG=t #...
If an incorrect URL is opened, please provide the following so we can write a test: #### Example clone url: ssh://[email protected]/project1/repo1.git #### Example branch name: master #### Expected web URL:...
I ran into a problem of exit code 127, and I found it's caused by a problematic $BROWSER environment variable in my system. If you could add some try catch...
Open a merge request
Signed-off-by: Prabhu Jayakumar Fixes #173
Add a flag to open CI/CD tool URL: ``` git open --cx ``` Based on the contents of the repo we could identify the CI URLs. However, there are a...
Docs say Visual Studio Team Services are supported, but since that's not an available product anymore, that's no longer really accurate. I never used VSTS, and maybe the MS-provided URL...
The documentation claims that single letter flags -c, -i and -p should work - but on my GNU bash, version 5.0.2(1)-release (x86_64-apple-darwin16.7.0), they do not, because they do not seem...
Hello First, thank for your work! This utility command is really useful and is exactly what I was thinking about I want to suggest to open the `master` branch if...
How about `git open --commit xxxx`?