</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-push</em> [--all] [--tags] [-f | --force] <repository> <refspec>…</p>\r
+<p><em>git-push</em> [--all] [--tags] [--exec=<receive-pack>] [--repo=all] [-f | --force] [-v] [<repository> <refspec>…]</p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
+--exec\r
+</dt>\r
+<dd>\r
+<p>\r
+ Path to the <em>git-receive-pack</em> program on the remote\r
+ end. Sometimes useful when pushing to a remote\r
+ repository over ssh, and you do not have the program in\r
+ a directory on the default $PATH.\r
+</p>\r
+</dd>\r
+<dt>\r
-f, --force\r
</dt>\r
<dd>\r
remote repository to lose commits; use it with care.\r
</p>\r
</dd>\r
+<dt>\r
+--repo=<repo>\r
+</dt>\r
+<dd>\r
+<p>\r
+ When no repository is specified the command defaults to\r
+ "origin"; this overrides it.\r
+</p>\r
+</dd>\r
+<dt>\r
+--thin, --no-thin\r
+</dt>\r
+<dd>\r
+<p>\r
+ These options are passed to <tt>git-send-pack</tt>. Thin\r
+ transfer spends extra cycles to minimize the number of\r
+ objects to be sent and meant to be used on slower connection.\r
+</p>\r
+</dd>\r
+<dt>\r
+-v\r
+</dt>\r
+<dd>\r
+<p>\r
+ Run verbosely.\r
+</p>\r
+</dd>\r
</dl>\r
</div>\r
<h2>GIT URLS<a id="URLS"></a></h2>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 01-Jan-2007 03:20:15 UTC\r
+Last updated 16-Jan-2007 22:04:59 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
-'git-push' [--all] [--tags] [-f | --force] <repository> <refspec>...
+'git-push' [--all] [--tags] [--exec=<receive-pack>] [--repo=all] [-f | --force] [-v] [<repository> <refspec>...]
DESCRIPTION
-----------
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.
This flag disables the check. This can cause the
remote repository to lose commits; use it with care.
+\--repo=<repo>::
+ When no repository is specified the command defaults to
+ "origin"; this overrides it.
+
+\--thin, \--no-thin::
+ These options are passed to `git-send-pack`. Thin
+ transfer spends extra cycles to minimize the number of
+ objects to be sent and meant to be used on slower connection.
+
+-v::
+ Run verbosely.
+
include::urls.txt[]
Author
<dd>\r
<p>\r
Removes all <tt>*.txt</tt> files from the index that are under the\r
- <tt>Documentation</tt> directory and any of its subdirectories. The\r
- files are not removed from the working tree.\r
+ <tt>Documentation</tt> directory and any of its subdirectories.\r
</p>\r
<p>Note that the asterisk <tt>*</tt> is quoted from the shell in this\r
example; this lets the command include the files from\r
</dt>\r
<dd>\r
<p>\r
- Remove all git-*.sh scripts that are in the index. The files\r
- are removed from the index, and from the working\r
- tree. Because this example lets the shell expand the\r
- asterisk (i.e. you are listing the files explicitly), it\r
+ Remove all git-*.sh scripts that are in the index.\r
+ Because this example lets the shell expand the asterisk\r
+ (i.e. you are listing the files explicitly), it\r
does not remove <tt>subdir/git-foo.sh</tt>.\r
</p>\r
</dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 26-Dec-2006 03:21:38 UTC\r
+Last updated 16-Jan-2007 22:05:00 UTC\r
</div>\r
</div>\r
</body>\r
EXAMPLES
--------
git-rm Documentation/\\*.txt::
-
Removes all `\*.txt` files from the index that are under the
- `Documentation` directory and any of its subdirectories. The
- files are not removed from the working tree.
+ `Documentation` directory and any of its subdirectories.
+
Note that the asterisk `\*` is quoted from the shell in this
example; this lets the command include the files from
subdirectories of `Documentation/` directory.
git-rm -f git-*.sh::
-
- Remove all git-*.sh scripts that are in the index. The files
- are removed from the index, and from the working
- tree. Because this example lets the shell expand the
- asterisk (i.e. you are listing the files explicitly), it
+ Remove all git-*.sh scripts that are in the index.
+ Because this example lets the shell expand the asterisk
+ (i.e. you are listing the files explicitly), it
does not remove `subdir/git-foo.sh`.
See Also