[精讚] [會員登入]
1011

安裝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更好用

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

[vi/vim] 如何讓 root 帳號的 vim 可以顯示顏色 如何讓 root 帳號的 vim 可以顯示顏色

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

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

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

隨機好文

談借錢 人借錢時手心向上頭向下,人還錢時手心向下頭向上

UTF-8 BOM (Byte Order Mark) 的問題 在 Michael Kaplan 那看到 Every character has a story #4: U+feff

[Freebsd] 定時測試 ADSL 是否斷線並重連 中華電信 ADSL 雖有固定 ip,可是他卻會不定時「斷線」, 使用以下的 方法可以定時測試是否斷線,以及重新撥接。

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

UTF-8的網頁但IE8一片空白 UTF8編碼的網頁在Firefox 正常顯示、但IE8 就是空白,IE8編碼設定是「自動偵測」可是自動偵測到的是 big5...