原文:git修改user.name 和user.email

今天刚刚入门了下git,,然后初始化的时候将用户名弄错了。。。就很气啊。然后网上找了半天都找不出一个可靠的修改全局用户名和邮箱的方法。。 最后还是自己摸索出来了。。其实也很简单。 首先进入git bash : 输入 git config list 可以查看配置的一些东西。可以看到user.name 和user.email 分别是什么。。 如果你没有初始化过。那么直接: git config gl ...

2019-04-17 11:28 1 16386 推荐指数:

查看详情

git config user.name

Setting your username in Git Git uses a username to associate commits with an identity. The Git username is not the same as your GitHub username. ...

Thu Nov 07 06:17:00 CST 2019 0 1603
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM