Skip to content

Commit

Permalink
Merge branch 'gj/push-more-verbose-advice' (early part)
Browse files Browse the repository at this point in the history
* 'gj/push-more-verbose-advice' (early part):
  push: enhance unspecified push default warning
  • Loading branch information
Junio C Hamano committed Dec 5, 2013
2 parents 968182a + c13a5fe commit b00d244
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions builtin/push.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ N_("push.default is unset; its implicit value is changing in\n"
"\n"
" git config --global push.default simple\n"
"\n"
"When push.default is set to 'matching', git will push local branches\n"
"to the remote branches that already exist with the same name.\n"
"\n"
"In Git 2.0, Git will default to the more conservative 'simple'\n"
"behavior, which only pushes the current branch to the corresponding\n"
"remote branch that 'git pull' uses to update the current branch.\n"
"\n"
"See 'git help config' and search for 'push.default' for further information.\n"
"(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode\n"
"'current' instead of 'simple' if you sometimes use older versions of Git)");
Expand Down

0 comments on commit b00d244

Please sign in to comment.