mirror of
https://github.com/git/git.git
synced 2024-11-19 09:13:55 +01:00
Merge branch 'maint'
* maint: commit: suggest --amend --reset-author to fix commiter identity
This commit is contained in:
commit
d2f15e29a6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user