Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  commit: suggest --amend --reset-author to fix commiter identity
  • Loading branch information
Junio C Hamano committed Jan 13, 2011
2 parents 7fad99e + 3f14246 commit d2f15e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ static const char implicit_ident_advice[] =
" git config --global user.name \"Your Name\"\n"
" git config --global user.email you@example.com\n"
"\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"
"\n"
" git commit --amend --author='Your Name <you@example.com>'\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"
Expand Down

0 comments on commit d2f15e2

Please sign in to comment.