olets / zsh-abbr

The zsh manager for auto-expanding abbreviations, inspired by fish. ~18,000 clones by ~12,000 unique cloners as of Sept '24, and averaging ~60 Homebrew installs monthly since June 2023
https://zsh-abbr.olets.dev
Other
555 stars 19 forks source link

Deleted the branch `master` #74

Closed olets closed 1 year ago

olets commented 1 year ago

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.