I have a global git settings in /etc/git/config that I use for most of my 
projects:

[sendemail]
        smtpUser = my-username
        smtpServer = mail.my-server.com
        smtpServerPort = 2525
        tocmd ="`pwd`/scripts/get_maintainer.pl --nogit --nogit-fallback 
--norolestats --nol"
        cccmd ="`pwd`/scripts/get_maintainer.pl --nogit --nogit-fallback 
--norolestats --nom"

However, for a particular project, I must use a different sendemail 
configuration. I have added this to my .git/config file in this project:

[sendemail]
        smtpServer = alternate-mail-server.com

For this, I do not want to use the global entries like smtpUser, tocmd, 
etc. Unfortunately, these entries are set to the default value in 
/etc/config.

Is it possible in a local .git/config to unset/delete an entry?

I do NOT want to use an external command like 'git config' to do it.

Thank you,


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/d98a497c-01bc-401d-bcdc-1fa7c40c9dd6n%40googlegroups.com.

Reply via email to