Skip to content

Commit

Permalink
git-push: add documentation for the newly added --mirror mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Whitcroft authored and Junio C Hamano committed Nov 13, 2007
1 parent 8e806ad commit ff20674
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/git-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit ff20674

Please sign in to comment.