[精讚] [會員登入]
1023

安裝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

你可能感興趣的文章

[find] 活用 find 指令參數-exec 執行找到的結果 在linux/ freebsd 中查找檔案最強的就是 find,他有一個參數相當好用:-exec

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

[SSH] 限制登入的帳號或群組 SSH常會遭到駭客的掃描和暴力法破解密碼,就算密碼夠強,我還是希望駭客一點機會也沒有,所以要限制可以登入的使用者和來源

利用tr如何移除檔案中的 ^M 利用tr如何移除檔案中的換行 ^M

[vi/vim] 修改顯示顏色的檔案類型,編修自動上色的檔案類型 vi/vim 編修自動上色的檔案類型,說明新增上色檔案附檔名的方法

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

隨機好文

[jQuery] textarea 的取值和給值 HTML 的 TEXTAREA 標籤若要用 jquery 取值,不能使用 .text() 或 .html() ,使用 .

[HP DL380G7] 生效啟動第3,4片網卡/開啟或關閉內建的網卡 HP DL380G7 預設第3,4片網卡裝完系統後找不到,難道是壞了?要怎麼辦?

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

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

一個邏輯的錯誤刪了全部檔案的經驗 今天本來想做一件很簡單的事,但卻足足浪費我多一倍的時間,再加上刪掉我全部的檔案,原因只是因為我自己的邏輯錯誤。