web前端

Git 修改config

2017-08-30  本文已影响0人  北纬40度的思念

输入

$ git config --list 

可以看到user.name 和user.email 的配置。
如果你没有初始化过,那么直接:

$  git config --global user.name "输入你的用户名"
$  git config --global user.email "输入你的邮箱"

如果初始化过,输入

$  git config --global --replace-all user.name "输入你的用户名"
$  git config --global --replace-all user.email "输入你的邮箱"
上一篇 下一篇

猜你喜欢

热点阅读