summaryrefslogtreecommitdiff
path: root/bin/git-push-all
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-08-26 16:19:40 -0700
committerSean Whitton <spwhitton@spwhitton.name>2018-08-26 16:19:40 -0700
commit564a518273fdbbb131e2ee7e0f9dc1e130b5de2d (patch)
tree4859487b5dcf7ae70cd230536cc30a95000c5a53 /bin/git-push-all
parent3191ab6e961747040fea16e9b6140a372e19cfa8 (diff)
downloaddotfiles-564a518273fdbbb131e2ee7e0f9dc1e130b5de2d.tar.gz
add more output to git-push-all
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-xbin/git-push-all4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/git-push-all b/bin/git-push-all
index 03cd29d0..dd02e63d 100755
--- a/bin/git-push-all
+++ b/bin/git-push-all
@@ -77,7 +77,9 @@ foreach my $branch ( @branches ) {
# print "I: pushing $branch to $tracking (probably to its tracking branch)\n";
push @{ $pushes{$tracking} }, $branch;
} else {
- die "E: couldn't find anywhere to push $branch";
+ print "E: couldn't find anywhere to push $branch\n";
+ print "I: maybe you want to \`git branchmove\` it to a remote\n";
+ exit 1;
}
}