windows, linux, freebsd 下安裝git

URL Link //n.sfs.tw/10476

2016-12-24 22:28:27 By 張○○

GIT[3] is a distributed version control system  "分散式" 的版本控管軟體[1]

CENTOS5.8[2]

安裝yum的套件資源庫
# rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

安裝最新版git
# yum install --enablerepo=webtatic git-all

To work around Missing Dependency: perl(Git) errors:

如果上面出錯,執行下面
# yum install --enablerepo=webtatic --disableexcludes=main  git-all

CENTOS7

# yum install git

FREEBSD 8, 9

# cd /usr/ports/devel/git
# make install

WINDOWS

直接下載及安裝 https://help.github.com/articles/set-up-git#platform-windows

參考資料

[1] Git是什麼 http://www.arthurtoday.com/2011/03/git.html#.UVuPe1fJKZI

[2] http://stackoverflow.com/questions/3779274/how-can-git-be-installed-on-centos-5-5

[3] git官網 http://git-scm.com/


原文 2013-04-03 10:06:36