all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Andreas Schwab <schwab@suse.de>, Stephen Berman <stephen.berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: master 08f00c0: Fix and improve UI of scroll bar menu (bug#27047)
Date: Wed, 24 May 2017 12:09:49 +0000	[thread overview]
Message-ID: <CAFyQvY3s0QMB70fLJciVLeQWrmKu2chzPGuF1pVgmBj8o2D2pg@mail.gmail.com> (raw)
In-Reply-To: <mvminkqwjj2.fsf@suse.de>

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

On Wed, May 24, 2017 at 8:03 AM Andreas Schwab <schwab@suse.de> wrote:

> On Mai 24 2017, Stephen Berman <stephen.berman@gmx.net> wrote:
>
> > Does anyone know why git (or VC) used my login name and the host name of
> > my machine instead of my email address in this commit, and how I can
> > prevent this from happening again?
>
> git config --global user.email ...
>

On a related note, the recent git release 2.13.0 has an interesting new
feature.. you can specify your git credentials differently for different
repos from a central place.

Here is a snippet from my ~/.gitconfig using that feature:

=====
# Below user credentials would be the default.. unless the includeIf
overrides are in effect
[user]
name = Kaushal Modi
email = kaushal.modi@gmail.com
# https://github.com/blog/2360-git-2-13-has-been-released
[includeIf "gitdir:~/stow/dot_files/"]
        path = .gitconfig-work
[includeIf "gitdir:~/stow/dot_files_public/"]
        path = .gitconfig-public
=====

This is my ~/.gitconfig-work:
=====
# -*- mode: conf-unix -*-
[user]
name = Kaushal Modi
email = <my work email>
=====

and my ~/.gitconfig-public:
=====
# -*- mode: conf-unix -*-
[user]
name = Kaushal Modi
email = kaushal.modi@gmail.com
=====


-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 2606 bytes --]

  reply	other threads:[~2017-05-24 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170524113336.13821.49837@vcs0.savannah.gnu.org>
     [not found] ` <20170524113338.4443421035@vcs0.savannah.gnu.org>
2017-05-24 11:53   ` master 08f00c0: Fix and improve UI of scroll bar menu (bug#27047) Stephen Berman
2017-05-24 12:01     ` Andreas Schwab
2017-05-24 12:09       ` Kaushal Modi [this message]
2017-05-24 12:12       ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY3s0QMB70fLJciVLeQWrmKu2chzPGuF1pVgmBj8o2D2pg@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@suse.de \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.