I maintain a popular utility called
git-open which opens a browser to your bitbucket/github/gitlab to view whatever branch you have checked out.
Bitbucket makes this pretty difficult if there's a slash in the branch name. (Which it surprisingly common :)
Easy enough, but here's the problem:
bugfix/conftest_fix branch, bitbucket provides a 404 for a similar URL:
And we get the same result if we URL-encode the slash:
When using the site to view the branch we get a
/src/<commit hash>/?at=<branch/name> URL. So while this is a workaround, it makes for more awkward ergonomics. :/
Ideally, a fix would make either of the above 404'ing URLs start to work. Thanks!