Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-push: add documentation for the newly added --mirror mode
author
Andy Whitcroft
<apw@shadowen.org>
Fri, 9 Nov 2007 23:32:57 +0000
(23:32 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 13 Nov 2007 02:22:14 +0000
(18:22 -0800)
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>
Documentation/git-push.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
8e806ad
)
diff --git
a/Documentation/git-push.txt
b/Documentation/git-push.txt
index e5dd4c10662230622299d0a4b2bb2850071be7d8..3fa5992313e10b17fb572d1ac2e71d638db531a1 100644
(file)
--- 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.
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.
\--dry-run::
Do everything except actually send the updates.