【问题标题】:Merging two git clients合并两个 git 客户端
【发布时间】:2018-10-24 13:52:13
【问题描述】:

我最近在我的机器上安装了 Windows 10 的干净副本并安装了 git。我配置了 git 用户名,但是当我克隆自己的存储库时,VS 代码扩展名说它是由“Muremwa”而不是“you”编辑的。如何让 git 知道它是同一个用户?

【问题讨论】:

  • 你是如何配置你的 git 用户名的?

标签: git


【解决方案1】:

您可以使用以下命令检查当前存储库的 git 用户名

git config user.name

检查用户使用的电子邮件ID

git config user.email

更改,您可以使用:

git config user.name "Mona Lisa"

git config user.email "email@example.com"

要设置它全局使用--global

例子:

git config --global user.email "email@example.com"

更多信息请查看:

【讨论】:

猜你喜欢
  • 2011-02-17
  • 1970-01-01
  • 2017-06-08
  • 1970-01-01
  • 2013-02-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多