[Bioc-devel] Unexpected message when using 'git commit'

cstrato cstrato at aon.at
Mon Oct 16 22:07:14 CEST 2017

Dear All,

When I first  did:

$ git commit -m "update for configure.in"

everything seemed to be ok.

However, the next day when I tried once again to run 'git commit'
I got the following message:

$ git commit -m "update for configure.in"
[master 7a9855f] update for configure.in
  Committer: rabbitus <rabbitus at lumimacs-iMac.local>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:

     git config --global --edit

After doing this, you may fix the identity used for this commit with:

     git commit --amend --reset-author

  3 files changed, 62 insertions(+), 58 deletions(-)

Searching for an answer I found the following link:


and did:

$ git config --global user.name "cstrato"
$ git config --global user.email cstrato at aon.at

Now the file '~/.gitconfig' does contain the corrected name and email.

Afterwards, I tried:

$ git commit --amend --reset-author

and got the following text file, 'COMMIT_EDITMSG':

update for configure.in

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
# Changes to be committed:
#       modified:   DESCRIPTION
#       modified:   NEWS
#       modified:   configure.in

The file 'COMMIT_EDITMSG' can be found in my 'CRAN/GIT/xps/.git' directory.

  My questions now are:

  1, Why did I receive this message after a did 'git commit' the second 

  2, Is it correct that I have changed my user.name and user.email to 
above values?

  3, Why do I need to reset the commit information?

  4, Do I have to edit the file 'COMMIT_EDITMSG'?

Thank you.
Best regards,
C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a
V.i.e.n.n.a           A.u.s.t.r.i.a
e.m.a.i.l:        cstrato at aon.at

More information about the Bioc-devel mailing list