ubuntu14.04安装git

2016-06-23  本文已影响35人  ArleyDu

步骤:
1,sudo apt-get updatesudo apt-get install git

2,然后配置自己的Git账号信息,这样才能进行相关的操作:

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

3,可以通过下面的命令查看git的配置信息:

git config --list

显示信息如下:
user.name=Your Name
user.email=youremail@domain.com

上一篇 下一篇

猜你喜欢

热点阅读