public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Setting git commit name/email
@ 2007-10-29  9:21 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2007-10-29  9:21 UTC (permalink / raw)
  To: frysk

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hi,

Don't forget to set your name and email address for (local) git commits
through:

$ git config --global user.name "Mark Wielaard"
$ git config --global user.email "mwielaard@redhat.com"

[You can set it for a local git repo to something different by omitting
the --global flag]

Or by adding something like the following to your ~/.gitconfig file:

$ cat ~/.gitconfig 
[user]
        name = Mark Wielaard
        email = mwielaard@redhat.com

That makes sure that not just the ChangeLog, but also the git commit
changeset has the right author set.

Cheers,

Mark

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-29  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-29  9:21 Setting git commit name/email Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).