[精讚] [會員登入]
823

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

你可能感興趣的文章

[Linux] ls --color 的檔案特徵及顏色意義 ls --color 時看到的檔案特徵及顏色意義及和檔案權限有關的指令

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

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

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

[Linux] 進行字串取代,三種字串取代的方法 使用vi、sed、perl來取代字串

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

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

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

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

[bc] linux 的計算機 bc 設定小數位數、計算π、次方根 linux 的計算機 bc 設定小數位數、計算π、次方根

TFTP Server 安裝及使用 讓設備的網路設定檔或是韌體經由TFTP拷備出來,操作的方法

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