文章目錄
  1. 1. Install Git with Yum
  2. 2. Install Git from Source
  3. 3. Set Up Git
  4. 4. Reference

Install Git with Yum

1
2
$ sudo yum install git  # 需要root权限
$ git --version

Install Git from Source

参考下边的教程
https://www.digitalocean.com/community/tutorials/how-to-install-git-on-centos-7


Set Up Git

1
2
3
$ git config --global user.name "Your Name"
$ git config --global user.email "you@example.com"
$ git config --list

Reference

  1. https://www.digitalocean.com/community/tutorials/how-to-install-git-on-centos-7
文章目錄
  1. 1. Install Git with Yum
  2. 2. Install Git from Source
  3. 3. Set Up Git
  4. 4. Reference