From: Andy Whitcroft Date: Fri, 9 Nov 2007 23:32:57 +0000 (+0000) Subject: git-push: add documentation for the newly added --mirror mode X-Git-Tag: v1.5.4-rc0~152^2~8^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff206748158aa54196bde1462ceaf550a5c2440e;p=git.git git-push: add documentation for the newly added --mirror mode Add some basic documentation on the --mirror mode for git-push. Signed-off-by: Andy Whitcroft Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index e5dd4c106..3fa599231 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -63,6 +63,14 @@ the remote repository. Instead of naming each ref to push, specifies that all refs under `$GIT_DIR/refs/heads/` be pushed. +\--mirror:: + Instead of naming each ref to push, specifies that all + refs under `$GIT_DIR/refs/heads/` and `$GIT_DIR/refs/tags/` + be mirrored to the remote repository. Newly created local + refs will be pushed to the remote end, locally updated refs + will be force updated on the remote end, and deleted refs + will be removed from the remote end. + \--dry-run:: Do everything except actually send the updates.