paulirish / git-open

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

Add option to ignore the currently checked out branch #195

Open phwt opened 1 year ago

phwt commented 1 year ago
xuoutput commented 7 months ago

bump

jbsmith7741 commented 6 months ago

This is exactly what I was looking for as well.

@paulirish Is this okay to be merged?

paulirish commented 6 months ago

God damn this is a beautiful PR. @phwt thank you.

@jbsmith7741 you have any feelings about using -b as the short flag here? feels weird to me, but -i is already taken.

maybe -r and --root instead? I don't care that much either way.

jbsmith7741 commented 1 month ago

I don't have a strong preference, maybe -m for main/master or -d for default branch.