Skip to content

Commit 1973838

Browse files
author
Adam Gradzki
committed
Feature: Add support for Git 1.9.0
1 parent fd12f86 commit 1973838

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

install/centos/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,33 @@ To remove this alias in the future:
188188

189189
rm -i /usr/bin/editor
190190

191+
192+
### Install Git from Source (optional)
193+
194+
Remove the system Git
195+
196+
yum -y remove git
197+
198+
Install the pre-requisite files for Git compilation
199+
200+
yum install zlib-devel perl-CPAN gettext curl-devel expat-devel gettext-devel openssl-devel
201+
202+
Download and extract Git 1.9.0
203+
204+
mkdir /tmp/git && cd /tmp/git
205+
curl --progress https://git-core.googlecode.com/files/git-1.9.0.tar.gz | tar xz
206+
cd git-1.9.0/
207+
./configure
208+
make
209+
make prefix=/usr/local install
210+
211+
Make sure Git is in your `$PATH`:
212+
213+
which git
214+
215+
You might have to logout and login again for the `$PATH` to take effect.
216+
217+
191218
----------
192219

193220
## 2. Ruby
@@ -349,6 +376,7 @@ If you see the following:
349376

350377
Your password has been accepted successfully and you can type \q to quit.
351378

379+
352380
----------
353381
## 6. GitLab
354382

0 commit comments

Comments
 (0)