Skip to content
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

Deleted the branch master #74

Closed
olets opened this issue Feb 11, 2023 · 0 comments
Closed

Deleted the branch master #74

olets opened this issue Feb 11, 2023 · 0 comments

Comments

@olets
Copy link
Owner

olets commented Feb 11, 2023

The branch master has been deleted. Maintaining it complicated the zsh-abbr devops.

main has been the default branch for years.

Early adopters who use Homebrew to install zsh-abbr may initially have used master. In my testing Homebrew is good about handling a change in default branch + deletion of the old default branch.

I have not tested every possible zsh plugin manager.

If you get an error like

fatal: Couldn't find remote ref refs/heads/master

or

pathspec 'master' did not match any file(s) known to git

you'll need to change the branch to main.

If you've specified master somewhere, change that to main.

If you didn't specify master somewhere, or if changing it didn't help, try checking out the branch main:

cd $ABBR_SOURCE_PATH
git checkout main

🎉 If you have a success story, share you method here with installation method and steps taken.

😞 If you have trouble, let me know here.

@olets olets pinned this issue Feb 11, 2023
@olets olets closed this as completed Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant