下面的引文是用来制作啤酒桶的说明.但是,我不能理解这个句子:github_user='<my-github-username>',我不知道是否应该输入<>,以及github_user是什么
有一个电子邮件地址,两个名称为一个单一的GitHub帐户。更重要的是,当我输入最后一句话:cask-repair --pull origin --push $github_user $outdated_cask。有两个错误:the requested upstream branch 'Andy1984' does not exist,和
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "head"结果是There was an error submitting the pull request. Have you forked the repo and made sure the pull and push remotes exist?,我很肯定我遵循了指示。怎么啦?
# install and setup script - only needed once
brew install vitorgalvao/tiny-scripts/cask-repair
cask-repair --help
# fork homebrew-cask to your account - only needed once
cd "$(brew --repository)/Library/Taps/caskroom/homebrew-cask/Casks"
hub fork
# use to update <outdated_cask>
outdated_cask='<the-cask-i-want-to-update>'
github_user='<my-github-username>'
cd "$(brew --repository)/Library/Taps/caskroom/homebrew-cask/Casks"
cask-repair --pull origin --push $github_user $outdated_cask发布于 2017-04-22 06:41:34
根据文档,您还可以使用脚本来推送现有木桶的新版本。
检查:https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask
# install and setup script - only needed once
brew install vitorgalvao/tiny-scripts/cask-repair
cask-repair --help
# use to update <outdated_cask>
cask-repair <outdated_cask>https://stackoverflow.com/questions/38114323
复制相似问题