原文: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