diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-26 23:49:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-26 23:49:19 -0800 |
commit | f54f08e1ae0f906246db7b590eda35a168a9b34d (patch) | |
tree | a59fab5a7798c887416e23ecfed6d7656dfcf926 /git-push.html | |
parent | 8c6a7b0f952c0a1b2e5b5bb2c1feb4d91970fb8d (diff) | |
download | git-htmldocs-f54f08e1ae0f906246db7b590eda35a168a9b34d.tar.gz |
Autogenerated HTML docs for v1.7.9.2-302-g3724c
Diffstat (limited to 'git-push.html')
-rw-r--r-- | git-push.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/git-push.html b/git-push.html index d5c81f335..4b037f2df 100644 --- a/git-push.html +++ b/git-push.html @@ -584,7 +584,7 @@ git-push(1) Manual Page <div class="sectionbody">
<div class="verseblock">
<div class="verseblock-content"><em>git push</em> [--all | --mirror | --tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
- [--repo=<repository>] [-f | --force] [-v | --verbose] [-u | --set-upstream]
+ [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]
[<repository> [<refspec>…]]</div>
<div class="verseblock-attribution">
</div></div>
@@ -655,6 +655,19 @@ nor in any Push line of the corresponding remotes file---see below).</p></div> </p>
</dd>
<dt class="hdlist1">
+--prune
+</dt>
+<dd>
+<p>
+ Remove remote branches that don’t have a local counterpart. For example
+ a remote branch <tt>tmp</tt> will be removed if a local branch with the same
+ name doesn’t exist any more. This also respects refspecs, e.g.
+ <tt>git push --prune remote refs/heads/*:refs/tmp/*</tt> would
+ make sure that remote <tt>refs/tmp/foo</tt> will be removed if <tt>refs/heads/foo</tt>
+ doesn’t exist.
+</p>
+</dd>
+<dt class="hdlist1">
--mirror
</dt>
<dd>
@@ -1404,7 +1417,7 @@ a <tt>git gc</tt> command on the origin repository.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-11-15 13:45:02 PDT
+Last updated 2012-02-26 23:49:05 PDT
</div>
</div>
</body>
|