diff --git a/bin/git-config-rebase b/bin/git-config-rebase new file mode 100755 index 0000000..de6e58e --- /dev/null +++ b/bin/git-config-rebase @@ -0,0 +1,22 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use autodie; + +my ($remote, $branch) = @ARGV; +open(my $fh, ">>.git/config"); + +$remote ||= 'origin'; +$branch ||= 'master'; + +my $config =<