Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-12-06 02:03:32 +0400
committerJunio C Hamano <gitster@pobox.com>2013-12-06 02:03:32 +0400
commitb00d2440f742fc554a4efda0a9e275452c5cb260 (patch)
tree62a45d41c1ab5936d1305be2fbf2a7d493ffff80 /builtin
parent968182a49ddaeb76623f602d1674ed8e4efd1869 (diff)
parentc13a5fe47b03cc115985ec79bff00b5510023092 (diff)
Merge branch 'gj/push-more-verbose-advice' (early part)
* 'gj/push-more-verbose-advice' (early part): push: enhance unspecified push default warning
Diffstat (limited to 'builtin')
-rw-r--r--builtin/push.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin/push.c b/builtin/push.c
index 7b1b66c36a..a73982a308 100644
--- a/builtin/push.c
+++ b/builtin/push.c
@@ -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)");