git-open
git-open copied to clipboard
Add option to ignore the currently checked out branch
- The
--ignore-branch
flag will forced the URL to be/TRACKED_REMOTE_USER/CURRENT_REPO/
without the/tree/CURRENT_BRANCH
suffix that appears when default branch is not checked out. - Add
main
as an alternative default branch name in-addition ofmaster
. - Update
bats
to the forkedbats-core
as the original repository is no longer maintained.
bump
This is exactly what I was looking for as well.
@paulirish Is this okay to be merged?
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.
I don't have a strong preference, maybe -m
for main/master or -d
for default branch.