X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-push.txt;h=2254bac16e65e6a0a097b6fef80aed6e1d6887d4;hb=c06818e20a88f58294de0a948a437c7c32c382fe;hp=b8993eba08b5d02b7c10d59e0c7b0b654b498514;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index b8993eba..2254bac1 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -16,11 +16,25 @@ 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 +every time you push into it, by setting up 'hooks' there. See +documentation for gitlink:git-receive-pack[1]. + OPTIONS ------- include::pull-fetch-param.txt[] +\--all:: + Instead of naming each ref to push, specifies all refs + to be pushed. + +-f, \--force:: + Usually, the command refuses to update a local ref that is + not an ancestor of the remote ref used to overwrite it. + This flag disables the check. What this means is that the + local repository can lose commits; use it with care. + Author ------ @@ -32,5 +46,5 @@ Documentation by Junio C Hamano and the git-list . GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite