summaryrefslogtreecommitdiff
path: root/git/del-git.pl
blob: 4243b0801ab60a5b40ec171a34eb37e649d29254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env perl
use v5.40;

my $branch = $ARGV[0];
$branch =~ s/\s+$//g;
say 'deleting for ' . $branch;
for my $remote (qw( b7j0c github sr.ht codeberg )) {
  my $cmd = "git push $remote :$branch";
  say $cmd;
  system($cmd);
}
__END__