diff --git a/bin/change_git_to_ssh_protocol b/bin/change_git_to_ssh_protocol index ee4520a..622cf4e 100755 --- a/bin/change_git_to_ssh_protocol +++ b/bin/change_git_to_ssh_protocol @@ -3,7 +3,8 @@ # convert a git:// protocol string to an ssh protocol string # very useful in visual select mode from vim -use Modern::Perl; +use strict; +use warnings; while(my $line = <>){ $line =~ s!git://([^/]+)/!git\@$1:!g;