1
0

Add mt-git to manage git identities easier

This commit is contained in:
Noah 2016-02-26 10:46:31 -08:00
parent 7dcc34cc34
commit d3486d6373

10
home/bin/mt-git Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/perl
# Set my local git config to my work email so I don't change my global gitconfig
if (!-d "./.git") {
die "You don't appear to be inside a git repository.\n";
}
system(qw(git config user.email npetherbridge@mediatemple.net));
print "E-mail updated for this repository.\n";