summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-26 23:49:19 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-26 23:49:19 -0800
commitf54f08e1ae0f906246db7b590eda35a168a9b34d (patch)
treea59fab5a7798c887416e23ecfed6d7656dfcf926 /git-push.html
parent8c6a7b0f952c0a1b2e5b5bb2c1feb4d91970fb8d (diff)
downloadgit-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.html17
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=&lt;git-receive-pack&gt;]
- [--repo=&lt;repository&gt;] [-f | --force] [-v | --verbose] [-u | --set-upstream]
+ [--repo=&lt;repository&gt;] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]
[&lt;repository&gt; [&lt;refspec&gt;&#8230;]]</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&#8217;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&#8217;t exist any more. This also respects refspecs, e.g.
+ <tt>git push --prune remote refs/heads/&#42;:refs/tmp/&#42;</tt> would
+ make sure that remote <tt>refs/tmp/foo</tt> will be removed if <tt>refs/heads/foo</tt>
+ doesn&#8217;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>