How can I remove an entry in global configuration with git config?

前端 未结 7 1830
不思量自难忘°
不思量自难忘° 2020-11-28 17:51

I ran a global configuration command in git to exclude certain files using a .gitignore_global file:

git config --global core.excludesfile ~/.gitignore_globa         


        
7条回答
  •  星月不相逢
    2020-11-28 17:53

    Try this from the command line to change the git config details.

    git config --global --replace-all user.name "Your New Name"
    
    git config --global --replace-all user.email "Your new email"
    

提交回复
热议问题