Git-03: 使用Git的最小配置

2019-04-01  本文已影响0人  WenxuanLi

李文轩 2019-02-07
声明:这是本人学习极客时间的Git三剑客的笔记,有侵权请联系我。


添加配置:

$ git config [--local|--global|--system] user.name 'Your name'
$ git config [--local|--global|--system] user.email 'Your email'

查看配置:

$ git config --list [--local|--global|--system]

各层级区别:

清理配置

$ git config --unset --local user.name
$ git config --unset --global user.name
$ git config --unset --system user.name
上一篇 下一篇

猜你喜欢

热点阅读