paulirish / git-open

Type `git open` to open the GitHub page or website for a repository in your browser.
MIT License
3.31k stars 247 forks source link

git open --issue open the main github repo page, no open issues page. #118

Closed roboto-cloud closed 6 years ago

roboto-cloud commented 6 years ago

Hi, this commando don't open the issues page, just go to the main repo page... tested on github and gitlab

git open --issue

someone know how fix it?

Thanks in advance,

ffes commented 6 years ago

--issue opens the specific page of that issue when you use the special branch name.

What you are looking for is the not yet contributed --issues.

derimagia commented 6 years ago

Going to close this, let us know if you are still having issues.

Idea: maybe we can fall back to opening the issues page if the user doesn't have a branch name we can parse an issue number out of