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

前端 未结 7 1815
不思量自难忘°
不思量自难忘° 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 18:01

    git config information will stored in ~/.gitconfig in unix platform.

    In Windows it will be stored in C:/users//.gitconfig.

    You can edit it manually by opening this files and deleting the fields which you are interested.

提交回复
热议问题