金曜日, 2月 21, 2014

Git under CentOS 6.x

使用git時,
若存取http簡單認證的repository,
會跳出一個OpenSSH的GUI以輸入密碼。

令人困擾的是該視窗在設定credentialhelper之後仍然不會記憶密碼。

原因是CentOS 6的Base yum repository放的是git 1.7,
而1.8才能解決這個問題。

所以找到了PUIAS computational Base的yum repository:
https://springdale.math.ias.edu/wiki/YumRepositories6

先yum remove git
再yum install git-all

It's done.


0 件のコメント: