首页 > 学院 > 开发设计 > 正文

git config

2019-11-09 14:26:25
字体:
来源:转载
供稿:网友

git 配置 global修改的 是 用户/.gitconfig 文件 :具体到你的用户

查看配置

git config --list

添加修改配置

用户信息git config --global user.name "XXXX" git config --global user.email "XXXX"设置提交模板git config --global commit.template "XXXX" (文件路径)git config --global color.ui 设置文本编辑器,命令如下:git config --global core.editor [编辑器名字]例如:git config --global core.editor vim
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表