ubuntu安装和使用git

1.apt-get安装

  apt-get install git

2.全局配置

  git config --global user.name "yourname"

  git config --global user.email "youemail"

3.查看版本和配置

  git --version

  git config user.name

  git config user.email

  git config --list

参考文章:

  https://blog.csdn.net/m0_37950361/article/details/80138929

猜你喜欢

转载自www.cnblogs.com/tarencez/p/10923962.html