From cd1ce7f67a83a563eac6262e143677690fb6fcbf Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Thu, 9 Jul 2009 00:40:47 -0700 Subject: [PATCH] Docs: CG: Add more content for `git push' --- Documentation/devel/git-starting.itexi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devel/git-starting.itexi b/Documentation/devel/git-starting.itexi index 3b1ba52de5..ed9f6b70df 100644 --- a/Documentation/devel/git-starting.itexi +++ b/Documentation/devel/git-starting.itexi @@ -277,6 +277,20 @@ You may then: git push origin @end example +Note that recent versions of Git (Git 1.6.3 or later) will issue a +big warning if the above command is used. The simplest solution +is to add a new section to @file{.git/config} that looks like +this: + +@example +[push] + default = matching +@end example + +@noindent +Then @code{git push origin} will work as before. For more +details, consult the @code{git push} man page. + @node Advanced git stuff @section Advanced git stuff -- 2.39.5