ubuntu14.04和18.04上安装Git

安装Git:

sudo apt-get update
sudo apt-get install git

配置自己的Git账号信息:

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

确认配置成功:

git config --list

可查看到刚刚自己配置的name和email。

猜你喜欢

转载自blog.csdn.net/zgcr654321/article/details/81704345