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教程中進行更改.
更新:
如果您是認為使用Xcode 4提供Apple Git發行版的人之一:
# 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中創建一個條目,如:
[help]
format = html
htmlpath = /usr/local/git/share/doc/git-doc
總結
以上是生活随笔為你收集整理的osx doc to html,macos – 在OSX上安装Git HTML帮助的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JAVA可阻塞队列-ArrayBlock
- 下一篇: Android Sdk 国内镜像下载地址