Deleted the branch `master`
olets opened this issue · comments
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.