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>
This commit is contained in:
parent
8e806adb65
commit
ff20674815
@ -63,6 +63,14 @@ the remote repository.
|
|||||||
Instead of naming each ref to push, specifies that all
|
Instead of naming each ref to push, specifies that all
|
||||||
refs under `$GIT_DIR/refs/heads/` be pushed.
|
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::
|
\--dry-run::
|
||||||
Do everything except actually send the updates.
|
Do everything except actually send the updates.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user