Skip to content

Instantly share code, notes, and snippets.

@sandbochs
Created March 21, 2013 01:43
Show Gist options
  • Save sandbochs/5210068 to your computer and use it in GitHub Desktop.
Save sandbochs/5210068 to your computer and use it in GitHub Desktop.
$('tr.merged-content td.name h3 a.css-truncate').each(function(i, el) {
url = el.href.replace('/tree/', '/branches/');
if(!url.match('master')) {
$.ajax({
url: url,
type: 'DELETE'
})
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment