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

前端 未结 7 1831
不思量自难忘°
不思量自难忘° 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条回答
  •  猫巷女王i
    2020-11-28 17:53

    Open config file to edit :

    git config --global --edit
    

    Press Insert and remove the setting

    and finally type :wq and Enter to save.

提交回复
热议问题