Skip to content

Commit

Permalink
document --exec for git-push
Browse files Browse the repository at this point in the history
The text is just copied from git-send-pack.txt.

Signed-off-by: Uwe Kleine-K�,Av�(Bnig <zeisberg@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Uwe Kleine-K,Av(Bnig authored and Junio C Hamano committed Jan 16, 2007
1 parent 6f72959 commit 5214f77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Documentation/git-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-push - Update remote refs along with associated objects

SYNOPSIS
--------
'git-push' [--all] [--tags] [-f | --force] <repository> <refspec>...
'git-push' [--all] [--tags] [--exec=<receive-pack>] [-f | --force] <repository> <refspec>...

DESCRIPTION
-----------
Expand Down Expand Up @@ -67,6 +67,12 @@ the remote repository.
addition to refspecs explicitly listed on the command
line.

\--exec::
Path to the 'git-receive-pack' program on the remote
end. Sometimes useful when pushing to a remote
repository over ssh, and you do not have the program in
a directory on the default $PATH.

-f, \--force::
Usually, the command refuses to update a remote ref that is
not a descendant of the local ref used to overwrite it.
Expand Down

0 comments on commit 5214f77

Please sign in to comment.