man/git-multi.html in git-multi-2.4.0 vs man/git-multi.html in git-multi-2.5.0
- old
+ new
@@ -746,11 +746,11 @@
</div>
<div id="content">
<div class="sect1">
<h2 id="_version">VERSION</h2>
<div class="sectionbody">
-<div class="paragraph"><p>This is <code>v2.4.0</code> of <em>git multi</em> … hooray!</p></div>
+<div class="paragraph"><p>This is <code>v2.5.0</code> of <em>git multi</em> … hooray!</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
@@ -1068,12 +1068,17 @@
<pre><code>git multi --find 'pushed_at >= Date.civil(Date.today.year, 1, 1).to_time.utc'</code></pre>
</div></div>
<div class="paragraph"><p>print out all webhooks</p></div>
<div class="literalblock">
<div class="content">
-<pre><code>git multi --eval '(hooks = client.hooks(full_name)).any? && begin print full_name ; print "\t" ; puts hooks.map { |hook| ["", hook.name, hook.config.url].join("\t") } ; end'</code></pre>
+<pre><code>git multi --eval 'puts client.hooks(full_name).map { |hook| [full_name, hook.name, hook.config.url].join("\t") }'</code></pre>
</div></div>
+<div class="paragraph"><p>delete all webhooks with matching URLs (in this case: <code>notify.travis-ci.org</code>)</p></div>
+<div class="literalblock">
+<div class="content">
+<pre><code>git multi --eval 'client.hooks(full_name).find_all { |hook| hook.config.url =~ /notify.travis-ci.org/ }.each { |hook| client.remove_hook(full_name, hook.id) }'</code></pre>
+</div></div>
<div class="paragraph"><p>print out all deploy keys</p></div>
<div class="literalblock">
<div class="content">
<pre><code>git multi --eval '(keys = client.list_deploy_keys(full_name)).any? && begin print full_name ; print "\t" ; puts keys.map(&:title).sort.join("\t") ; end'</code></pre>
</div></div>
@@ -1207,10 +1212,10 @@
</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2018-11-13 20:59:28 GMT
+ 2019-01-23 21:22:08 GMT
</div>
</div>
</body>
</html>