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 <apw@shadowen.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Andy Whitcroft committed
Nov 9, 2007 at 23:32 UTC
ff206748158aa54196bde1462ceaf550a5c2440e
1 file changed
+8
Documentation/git-push.txt
+8
@@ -63,6 +63,14 @@ the remote repository.
63
Instead of naming each ref to push, specifies that all
64
refs under `$GIT_DIR/refs/heads/` be pushed.
65
66
+\--mirror::
67
+ Instead of naming each ref to push, specifies that all
68
+ refs under `$GIT_DIR/refs/heads/` and `$GIT_DIR/refs/tags/`
69
+ be mirrored to the remote repository. Newly created local
70
+ refs will be pushed to the remote end, locally updated refs
71
+ will be force updated on the remote end, and deleted refs
72
+ will be removed from the remote end.
73
+
74
\--dry-run::
75
Do everything except actually send the updates.
76