summaryrefslogtreecommitdiffstats
path: root/git-push.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-05-24 01:12:30 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-05-24 01:12:30 +0000
commitb713ff1cbf5b9979edaf2b85bfc568fbc37ec0d7 (patch)
tree309627f98369ab95d9b367cb7840f8e1c9a44f06 /git-push.txt
parentfeeb1be0ecb7af3956ed418f425ffd6c10bd2d9e (diff)
downloadgit-htmldocs-b713ff1cbf5b9979edaf2b85bfc568fbc37ec0d7.tar.gz
Autogenerated HTML docs for v1.5.5.1-382-g182f
Diffstat (limited to 'git-push.txt')
-rw-r--r--git-push.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/git-push.txt b/git-push.txt
index f06d94e31..0cc44d799 100644
--- a/git-push.txt
+++ b/git-push.txt
@@ -46,12 +46,6 @@ specified, the same ref that <src> referred to locally). If
the optional leading plus `+` is used, the remote ref is updated
even if it does not result in a fast forward update.
+
-Note: If no explicit refspec is found, (that is neither
-on the command line nor in any Push line of the
-corresponding remotes file---see below), then "matching" heads are
-pushed: for every head that exists on the local side, the remote side is
-updated if a head of the same name already exists on the remote side.
-+
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
+
A parameter <ref> without a colon pushes the <ref> from the source
@@ -59,6 +53,13 @@ repository to the destination repository under the same name.
+
Pushing an empty <src> allows you to delete the <dst> ref from
the remote repository.
++
+The special refspec `:` (or `+:` to allow non-fast forward updates)
+directs git to push "matching" heads: for every head that exists on
+the local side, the remote side is updated if a head of the same name
+already exists on the remote side. This is the default operation mode
+if no explicit refspec is found (that is neither on the command line
+nor in any Push line of the corresponding remotes file---see below).
\--all::
Instead of naming each ref to push, specifies that all