修改mac系统中的主机名和邮箱

直接通过vim 命令进入到配置文件中进行修改

vim ~/.gitconfig

修改下面的name的属性值和email的属性值即可

# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
        name = ligh
        email = [email protected]

按esc退出,然后shift+:输入wq即可。

猜你喜欢

转载自blog.csdn.net/ligh_sqh/article/details/79480098
今日推荐