Last active
April 6, 2016 03:02
-
-
Save pinzolo/78ff6fd82ae64c218f5e2b11158d97ad to your computer and use it in GitHub Desktop.
git のバージョンアップ(Ubuntu14.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git --version | |
# git version 2.0.0 | |
cd /opt/src | |
wget https://www.kernel.org/pub/software/scm/git/git-2.8.1.tar.gz | |
tar xf git-2.8.1.tar.gz | |
cd git-2.8.1 | |
./configure --prefix=/opt/git/git-2.8.1 --with-openssl --with-curl | |
make | |
make install | |
/opt/git/git-2.8.1/bin/git --version | |
# git version 2.8.1 | |
ln -sfn /opt/git/git-2.8.1/bin/* /usr/bin | |
git --version | |
# git version 2.8.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment