[精讚] [會員登入]
1114

安裝git

centos/freebsd/windows安裝git

分享此文連結 //n.sfs.tw/10315

分享連結 安裝git@新精讚
(文章歡迎轉載,務必尊重版權註明連結來源)
2016-11-28 12:35:19 最後編修
2016-11-28 11:05:26 By 張○○
 

自動目錄

GIT[3] is a distributed version control system  "分散式" 的版本控管軟體[1]。如何安裝?

CENTOS 5.8[2]

# Add the repository
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

# Install the latest version of git
yum install --enablerepo=webtatic git-all

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

yum install --enablerepo=webtatic --disableexcludes=main  git-all

CENTOS 7

yum install git

FREEBSD 8.0

# 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/

END

你可能感興趣的文章

Vim .vimrc 設定,讓vim更好用 vim 是 unix-like 系統中最常用的編輯器,經由妥善的設定讓vim更好用

[Rsync] Freebsd10+Rsync / Centos7+Rsync Freebsd10 和 Centos7 安裝Rsync

伺服器防止 ssh 連線一直斷線 SSH連線預設只要一段時間沒有動作,就被斷線,怎麼解決?

[find] 活用 find 指令參數-atime -Btime -ctime -mtime 限制尋找時間 活用 find 指令參數-atime -Btime -ctime -mtime 限制尋找時間

FREEBSD、LINUX和MAC拷背目錄的差別 原本以為cp複製一個目錄,但在FREEBSD、LINUX和MAC竟有不同的表現情況

[CSH/TCSH] 使用tcsh SHELL #1 --變數、控制和迴圈 在FREEBSD或LINUX中使用TCSH SHELL,進行一些基本的指令操作。

隨機好文

安裝SPHINX支援中文 新版本的 sphinx 和舊版不同,網路上很多範例和教學是不能用的。此文是安裝和設定方法分享

Linux shell 的date表示法 linux下SHELL中的date表示法

[Win7] 燒錄 iso 檔 在Windows7 中內建燒錄程式,可以直接把檔案拉到光碟機裡,再執行燒錄。

[CodeIgniter3] 解決無法上傳特定檔案(.sb2)的問題 上傳時出現The filetype you are attempting to upload is not allowed,要怎麼解決?

維修冰箱 維修冰箱