Skip to content

Commit b00d244

Browse files
committed
Merge branch 'gj/push-more-verbose-advice' (early part)
* 'gj/push-more-verbose-advice' (early part): push: enhance unspecified push default warning
2 parents 968182a + c13a5fe commit b00d244

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

builtin/push.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,13 @@ N_("push.default is unset; its implicit value is changing in\n"
174174
"\n"
175175
" git config --global push.default simple\n"
176176
"\n"
177+
"When push.default is set to 'matching', git will push local branches\n"
178+
"to the remote branches that already exist with the same name.\n"
179+
"\n"
180+
"In Git 2.0, Git will default to the more conservative 'simple'\n"
181+
"behavior, which only pushes the current branch to the corresponding\n"
182+
"remote branch that 'git pull' uses to update the current branch.\n"
183+
"\n"
177184
"See 'git help config' and search for 'push.default' for further information.\n"
178185
"(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode\n"
179186
"'current' instead of 'simple' if you sometimes use older versions of Git)");

0 commit comments

Comments
 (0)