Ubuntu14.04 安装git

通过ubuntu的APT安装

sudo apt-get update
sudo apt-get install git

配置自己的Git账号信息  

git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"

查看git的配置信息

git config --list

git就安装好了,可以使用git的命令了,如git clone  

  

原文地址:https://www.cnblogs.com/baby123/p/6490323.html