Git 的配置

查看版本

$ git —version

配置

$ git config --global user.name "xx"
$ git config --global user.email xx@example.com
//--system 系统配置
//--global 该用户的全局配置

查看配置信息

$ git config --list
$ git config user.name

获取帮助,任意一个都可以

$ git help config
$ git config --help
$ man git-config

posted @ 2015-06-05 09:06  Arz  阅读(80)  评论(0编辑  收藏  举报