Recommend setup git 2.0 for installation docs

Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
上级 04e8b518
...@@ -56,7 +56,7 @@ Make sure you have the right version of Git installed ...@@ -56,7 +56,7 @@ Make sure you have the right version of Git installed
# Install Git # Install Git
sudo apt-get install -y git-core sudo apt-get install -y git-core
# Make sure Git is version 1.7.10 or higher, for example 1.7.12 or 1.9.3 # Make sure Git is version 1.7.10 or higher, for example 1.7.12 or 2.0.0
git --version git --version
Is the system packaged Git too old? Remove it and compile from source. Is the system packaged Git too old? Remove it and compile from source.
...@@ -69,8 +69,8 @@ Is the system packaged Git too old? Remove it and compile from source. ...@@ -69,8 +69,8 @@ Is the system packaged Git too old? Remove it and compile from source.
# Download and compile from source # Download and compile from source
cd /tmp cd /tmp
curl --progress https://www.kernel.org/pub/software/scm/git/git-1.9.3.tar.gz | tar xz curl --progress https://www.kernel.org/pub/software/scm/git/git-2.0.0.tar.gz | tar xz
cd git-1.9.3/ cd git-2.0.0/
make prefix=/usr/local all make prefix=/usr/local all
# Install into /usr/local/bin # Install into /usr/local/bin
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册