Hi,

>From the documentation I would have expected 

git config --local user.email=alt.email@alt.domain

to create a section 

[user]
        email=alt.email@alt.domain

in the local .git/config.

Instead it returns status 1 with no error message.

Is this intentional?

If I add the [user] section manually, it works as expected/desired:
my commits in that tree uses the alternate mail address.

git --version
git version 2.7.4

Thanks,
Knut Omang

-- 
Knut Omang, Ph.D
Principal Software Engineer
Oracle Linux and Virtualization Engineering
ORACLE Norway | Olaf Helsets vei 6 | 0694 Oslo
Email: knut.om...@oracle.com | Phone:  +47 41 46 22 10

Reply via email to