關於git的config



  1. 添加/修改用戶:git config --global user.name 'hurace'  
  2. 添加/修改郵箱:git config --global user.email '[email protected]' #全局聯繫方式,可選  
  3. 查看用戶名:git config user.name
  4. 查看郵箱:   git config user.email
  5. 查看git的全局信息: git config -l

  1. git config --global user.name 'hurace'  
  2. git config --global user.email '[email protected]' #全局聯繫方式,可選  
  3. 查看用戶名:git config user.name
  4. 查看郵箱:   git config user.email
  5. 修改用戶名:git config --global user.name "hurace"
  6. 修改郵箱:    git config --global user.email "[email protected]"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章