harsha935
11/5/2017 - 6:52 AM

install git in shared host with ssh

install git in shared host with ssh

cd ~/
mkdir src
cd src
wget https://github.com/git/git/archive/v2.7.1.tar.gz
wget https://curl.haxx.se/download/curl-7.47.1.tar.gz
tar -xzvf v2.7.1.tar.gz
tar -xzvf curl-7.47.1.tar.gz

cd git-2.7.1/
make configure
./configure –prefix=$HOME –with-curl=~/src/curl-7.47.1

make
make install