Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add option to ignore the currently checked out branch #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
phwt wants to merge 4 commits into paulirish:master
base: master
Choose a base branch
Loading
from phwt:master

Conversation

@phwt
Copy link

@phwt phwt commented Aug 12, 2022

  • 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 of master.
  • Update bats to the forked bats-core as the original repository is no longer maintained.

paulirish and jbsmith7741 reacted with heart emoji
Copy link

bump

Copy link

This is exactly what I was looking for as well.

@paulirish Is this okay to be merged?

Copy link
Owner

paulirish commented Dec 21, 2023
edited
Loading

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.

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /