代码改变世界

Git使用指南(1)——Git配置命令

2017-01-06 09:24  bongxin  阅读(135)  评论(0编辑  收藏  举报

配置用户信息

git config --global user.name
bongxin
git config --global user.email
bongxin@yeah.net

配置文本编辑器

git config --global core.editor
vim

配置差异分析工具

git config --global merge.tool
vimdiff

查看配置信息

git config --list