Junio C Hamano  committed d2f15e2 Merge

Merge branch 'maint'

* maint:
commit: suggest --amend --reset-author to fix commiter identity

  • Participants
  • Parent commits 7fad99e, 3f14246

Comments (0)

Files changed (1)

File builtin/commit.c

 "    git config --global \"Your Name\"\n"
 "    git config --global\n"
-"If the identity used for this commit is wrong, you can fix it with:\n"
+"After doing this, you may fix the identity used for this commit with:\n"
-"    git commit --amend --author='Your Name <>'\n";
+"    git commit --amend --reset-author\n";
 static const char empty_amend_advice[] =
 "You asked to amend the most recent commit, but doing so would make\n"