osx doc to html,macos – 在OSX上安装Git HTML帮助
從中更改克隆命令地址
$sudo git clone git://git.kernel.org/pub/scm/git/git.git git-doc --branch html
至
$sudo git clone git://git.kernel.org/pub/scm/git/git-htmldocs.git git-doc
希望很快就會在Github教程中進(jìn)行更改.
更新:
如果您是認(rèn)為使用Xcode 4提供Apple Git發(fā)行版的人之一:
# create directory to keep Git documentation html-files
$sudo mkdir -p /usr/local/git/share/doc # or whatever directory you choose
# change to that directory
$cd /usr/local/git/share/doc
# clone repo with documentation
$sudo git clone git://git.kernel.org/pub/scm/git/git-htmldocs.git git-doc
# point your Git explicitly to a new documentation directory
$git config --global help.htmlpath /usr/local/git/share/doc/git-doc
# tell Git to use html-formatted help by default
$git config --global help.format html
這將在.gitconfig中創(chuàng)建一個(gè)條目,如:
[help]
format = html
htmlpath = /usr/local/git/share/doc/git-doc
總結(jié)
以上是生活随笔為你收集整理的osx doc to html,macos – 在OSX上安装Git HTML帮助的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JAVA可阻塞队列-ArrayBlock
- 下一篇: 2017年html5行业报告,云适配发布