安装git的替代来源。 brew安装git; kernel.org停机维护 [英] alternative source for installing git. brew install git; kernel.org Down for maintenance
问题描述
我刚刚注意到kernel.org因维护而关闭。有不同的公式使用不同的镜子吗?或者我可以添加一个不同的来源(如捆绑?)到自制?
thx求助!
执行
brew编辑git
<
url'https://github.com/git/git/tarball/v1。 7.6.1'
md5'ab731cf9b99529f3f8d126aa15d9a1cd'
而不是
url'http://kernel.org/pub/ software / scm / git / git-1.7.6.1.tar.bz2'
md5'd1e00772cc9dc6c571999feb9e8771ab' code>
也可以
url'http://ftp.uk.freesbie.org/sites/ftp.kernel.org/pub/software/scm/git-core/git-manpages-1.7.6.1.tar.bz2
而不是
网址'http:/ /kernel.org/pub/software/scm/git/git-manpages-1.7.6.1.tar.bz2'
并且还将 而不是 保存并在此之后键入 当Linus完成与kernelorg的维护,您可以恢复所有这些更改。 更新: 更新: i just noticed that kernel.org is Down for maintenance. is there a different formula which uses a different mirror ? or could i add a different source (like bundler?) to homebrew? thx for help! Quick workaround:
Perform
And put Instead of Also put instead of And also put instead of Save and after that type When Linus is done with kernelorg's maintenance, you can revert all these changes. UPDATE:
Added mirror for htmldocs as well. Credits to Tadashi Shigeoka who found the url. UPDATE:
Recent homebrew revision contains mirrors, so that you don't need to use this hack. 这篇关于安装git的替代来源。 brew安装git; kernel.org停机维护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
$ b url'放入http://ftp.ntu.edu.tw/ftp/pub2/software/scm/ git / git-htmldocs-1.7.6.1.tar.bz2'
url'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
brew install git
。
为htmldocs添加了镜像。发现URL给Tadashi Shigeoka。
最近的自制修订包含镜像,因此您不需要使用这个黑客。brew edit git
url 'https://github.com/git/git/tarball/v1.7.6.1'
md5 'ab731cf9b99529f3f8d126aa15d9a1cd'
url 'http://kernel.org/pub/software/scm/git/git-1.7.6.1.tar.bz2'
md5 'd1e00772cc9dc6c571999feb9e8771ab'
url 'http://ftp.uk.freesbie.org/sites/ftp.kernel.org/pub/software/scm/git-core/git-manpages-1.7.6.1.tar.bz2
url 'http://kernel.org/pub/software/scm/git/git-manpages-1.7.6.1.tar.bz2'
url 'http://ftp.ntu.edu.tw/ftp/pub2/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
brew install git
.