Skip to content

Commit 15b38d6

Browse files
committed
git_install_2.22.1
1 parent 694446e commit 15b38d6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

git/git_install_2.22.1.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
##############
3+
##Author: yul1
4+
##Date: 2019-09-13 11:11:27
5+
##LastEditors: yul1
6+
##LastEditTime: 2019-09-13 11:13:45
7+
##Description:
8+
##############
9+
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.12.2.tar.gz
10+
##cd git-2.22.1/
11+
cd git-2.22.1/ || exit
12+
make prefix=/usr/local all
13+
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
14+
make prefix=/usr/local all
15+
make prefix=/usr/local install
16+
git version

0 commit comments

Comments
 (0)