зеркало из https://github.com/microsoft/git.git
Merge branch 'ab/push-example-in-doc'
An error message that sugggests how to give correct arguments to "git push" has been updated. * ab/push-example-in-doc: push: change needlessly ambiguous example in error
This commit is contained in:
Коммит
2c23f0b67e
|
@ -173,10 +173,10 @@ static NORETURN int die_push_simple(struct branch *branch, struct remote *remote
|
||||||
"\n"
|
"\n"
|
||||||
"To push to the branch of the same name on the remote, use\n"
|
"To push to the branch of the same name on the remote, use\n"
|
||||||
"\n"
|
"\n"
|
||||||
" git push %s %s\n"
|
" git push %s HEAD\n"
|
||||||
"%s"),
|
"%s"),
|
||||||
remote->name, short_upstream,
|
remote->name, short_upstream,
|
||||||
remote->name, branch->name, advice_maybe);
|
remote->name, advice_maybe);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char message_detached_head_die[] =
|
static const char message_detached_head_die[] =
|
||||||
|
|
Загрузка…
Ссылка в новой задаче