X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-push.txt;h=d5b5ca167ccf3fcfaeb818a305ca79b37dcd7bf8;hb=fb6a9f93d39e4e5fdb83673a927f71a34e9fb7c0;hp=ce909f584b855f6aa1b3b830c99a900c1258a7fb;hpb=85a97d4e10c1ac4b87e856e2efe7bcd53d6868c3;p=git.git diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index ce909f58..d5b5ca16 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -3,7 +3,7 @@ git-push(1) NAME ---- -git-push - Update remote refs along with associated objects. +git-push - Update remote refs along with associated objects SYNOPSIS @@ -16,7 +16,7 @@ DESCRIPTION Updates remote refs using local refs, while sending objects necessary to complete the given refs. -You can make "interesting" things to happen on the repository +You can make interesting things happen to a repository every time you push into it, by setting up 'hooks' there. See documentation for gitlink:git-receive-pack[1]. @@ -43,6 +43,12 @@ to fast forward the remote ref that matches . If the optional 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 all the +refs that exist both on the local side and on the remote +side are updated. ++ Some short-cut notations are also supported. + * `tag ` means the same as `refs/tags/:refs/tags/`. @@ -51,8 +57,8 @@ Some short-cut notations are also supported. in the source. \--all:: - Instead of naming each ref to push, specifies all refs - to be pushed. + Instead of naming each ref to push, specifies that all + refs be pushed. \--tags:: All refs under `$GIT_DIR/refs/tags` are pushed, in