man/git-multi.erb in git-multi-2.4.0 vs man/git-multi.erb in git-multi-2.5.0
- old
+ new
@@ -198,10 +198,14 @@
git multi --find 'pushed_at >= Date.civil(Date.today.year, 1, 1).to_time.utc'
print out all webhooks
- 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'
+ git multi --eval 'puts client.hooks(full_name).map { |hook| [full_name, hook.name, hook.config.url].join("\t") }'
+
+delete all webhooks with matching URLs (in this case: `notify.travis-ci.org`)
+
+ 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) }'
print out all deploy keys
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'