forked from x/icebergs
35 lines
832 B
Plaintext
35 lines
832 B
Plaintext
title "git"
|
|
refer "官网" `
|
|
官网 https://git-scm.com/
|
|
源码 https://github.com/git/git
|
|
文档 https://git-scm.com/docs
|
|
`
|
|
premenu
|
|
field "安装" web.code.git.git
|
|
field "源码" web.code.inner args `[ usr/install/git-1.8.3.1/ shell.c 145 ]`
|
|
|
|
chapter "安装"
|
|
section "编译安装"
|
|
spark shell `
|
|
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-1.8.3.1.tar.gz
|
|
tar xvf git-1.8.3.1.tar.gz && cd git-1.8.3.1
|
|
./configure --prefix=$PWD/install
|
|
make -j4 && make install
|
|
`
|
|
|
|
section "使用体验"
|
|
spark shell `
|
|
cd ./install
|
|
./bin/git
|
|
`
|
|
|
|
chapter "应用"
|
|
field "代码统计" web.code.git.total
|
|
field "提交趋势" web.code.git.trend args icebergs
|
|
field "代码结构" web.code.git.spide args icebergs
|
|
|
|
field status web.code.git.status
|
|
|
|
chapter "项目"
|
|
field icebergs web.code.inner args `[ usr/icebergs misc/git/git.go ]`
|