Git的安装——git的学习笔记1

2019-01-06  本文已影响3人  懒拖和傻淘

1 Linux

$ git
$ sudo apt-get install git

然后等待安装完毕即可。

2 windows

3 全局配置用户名与Email

$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"
$ git config user.name "Your Name"
$ git config user.email "email@example.com"

4查看当前所有配置

$ git config -l
上一篇 下一篇

猜你喜欢

热点阅读