diff --git a/README.md b/README.md index 04250de..d020a99 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,20 @@ Type `git open` to open the repo website (GitHub, GitLab, Bitbucket) in your bro ```sh git open [remote-name] [branch-name] + # Open the page for this branch on the repo website + +git open --commit +git open -c + # Open the current commit in the repo website git open --issue +git open -i + # If this branch is named like issue/#123, this will open the corresponding + # issue in the repo website + +git open --print +git open -p + # Only print the url at the terminal, but don't open it ``` (`git open` works with these [hosted repo providers](#supported-remote-repositories), `git open --issue` currently only works with GitHub, Visual Studio Team Services and Team Foundation Server)