Docs: CG: Add more content for `git push'
authorPatrick McCarty <pnorcks@gmail.com>
Thu, 9 Jul 2009 07:40:47 +0000 (00:40 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Thu, 9 Jul 2009 07:40:47 +0000 (00:40 -0700)
Documentation/devel/git-starting.itexi

index 3b1ba52de563477aabfdb8811ce0f7f9f2bd707e..ed9f6b70df81fc80fa856a3d946359814fd4f818 100644 (file)
@@ -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