Re: How to force explicit user info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 5, 2008 at 3:38 PM, Jakub Narebski <jnareb@xxxxxxxxx> wrote:
>
> "Santi Béjar" <sbejar@xxxxxxxxx> writes:
>
>  >   How can I forbid the gecos info and always force git to ask for an
>  > explicit user.name and user.email?
>  >
>  >   I use a different email for personal projects and for work projects,
>  > using the same machine. So I set user.email locally in each
>  > repository. But when I forget setting this I get
>  > userid@hostname.(none) as the email. Is there a way to just die and
>  > ask for this info (maybe user.AlwaysExplicit or something like that)?
>
>  I don't think there is a way to get exactly what you want... unless
>  you would "scratch that itch"... :-)

Yes, I'll add this to my todo.

>
>  You can set default user.name and user.email in the ~/.gitconfig
>  global (user) git configuration, and in /etc/gitconfig for system-wide
>  git config, though. HTH.

But I don't want a default user.{name,email}.

Santi




>
>  --
>  Jakub Narebski
>  Poland
>  ShadeHawk on #git
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux