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

配置用户信息

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
原文地址:https://www.cnblogs.com/bongxin/p/6255004.html