Skip to content
Snippets Groups Projects
Commit 2c23f0b6 authored by Junio C Hamano's avatar Junio C Hamano
Browse files

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
parents 544d114e 82471667
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -173,10 +173,10 @@ static NORETURN int die_push_simple(struct branch *branch, struct remote *remote
"\n"
"To push to the branch of the same name on the remote, use\n"
"\n"
" git push %s %s\n"
" git push %s HEAD\n"
"%s"),
remote->name, short_upstream,
remote->name, branch->name, advice_maybe);
remote->name, advice_maybe);
}
 
static const char message_detached_head_die[] =
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment