builtin/apply: move 'state' init into init_apply_state()
[gitweb.git] / Documentation / git-push.txt
index 669a357c81fbba17c245adc3660cdd07479e564e..cf6ee4a4df5f91f585591c314854ed1a332d8909 100644 (file)
@@ -37,6 +37,13 @@ the default `<refspec>` by consulting `remote.*.push` configuration,
 and if it is not found, honors `push.default` configuration to decide
 what to push (See linkgit:git-config[1] for the meaning of `push.default`).
 
+When neither the command-line nor the configuration specify what to
+push, the default behavior is used, which corresponds to the `simple`
+value for `push.default`: the current branch is pushed to the
+corresponding upstream branch, but as a safety measure, the push is
+aborted if the upstream branch does not have the same name as the
+local one.
+
 
 OPTIONS[[OPTIONS]]
 ------------------