docs: homebrew-cask's default branch is now main

Adjust documentation accordingly.
This commit is contained in:
Mike McQuaid 2025-06-25 08:50:36 +01:00
parent 36ae1ee429
commit ec61b49ee9
No known key found for this signature in database

View File

@ -353,7 +353,7 @@ Now go to the [`homebrew-cask` GitHub repository](https://github.com/Homebrew/ho
##### c) manually create a pull request on GitHub ##### c) manually create a pull request on GitHub
Otherwise, click the `Contribute > Open pull request` button and choose to `compare across forks`. The base fork should be `Homebrew/homebrew-cask @ master`, and the head fork should be `my-github-username/homebrew-cask @ my-new-cask-branch`. You can also add any further comments to your pull request at this stage. Otherwise, click the `Contribute > Open pull request` button and choose to `compare across forks`. The base fork should be `Homebrew/homebrew-cask @ main`, and the head fork should be `my-github-username/homebrew-cask @ my-new-cask-branch`. You can also add any further comments to your pull request at this stage.
##### Congratulations ##### Congratulations
@ -361,11 +361,11 @@ You are done now, and your cask should be pulled in or otherwise noticed in a wh
### Cleaning up ### Cleaning up
After your pull request is submitted, you should get yourself back onto `master`, so that `brew update` will pull down new casks properly: After your pull request is submitted, you should get yourself back onto `main`, so that `brew update` will pull down new casks properly:
```bash ```bash
cd "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask cd "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask
git checkout master git checkout main
``` ```
If earlier you set the variable `HOMEBREW_NO_AUTO_UPDATE` and `HOMEBREW_NO_INSTALL_FROM_API` then clean it up with: If earlier you set the variable `HOMEBREW_NO_AUTO_UPDATE` and `HOMEBREW_NO_INSTALL_FROM_API` then clean it up with: