git 设置全局用户名和邮箱
打开命令行工具(在Windows上可能是CMD或PowerShell,在MacOS或Linux上是Terminal)。
使用以下命令来设置全局用户名:
git config --global user.name "你的用户名"
使用以下命令来设置全局邮箱地址:
git config --global user.email "你的邮箱地址"
git config --global user.name "你的用户名"
git config --global user.email "你的邮箱地址"
评论 (0)