git下载安装、配置及idea初始化
安装 wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.19.0.tar.gz git 安装依赖 yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel cirl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker tar -xf git-2.19.0.tar.gz cd git-2.19.0 ./configure --prefix=/usr/local make sudo make install git 基础配置 git config --global user.name "xxx" git config --global user.email " xxx@xxx.com " git config --global merge.tool "kdiff3" //要是没装KDiff3就不用设这一行 git config -- global core.autocrlf false // 让Git 不要管Windows/Unix换行符转换的事 编码配置 git config --global gui.encoding utf-8 //避免git gui中的中文乱码