Browse Source

Add mt-git to manage git identities easier

master
Noah Petherbridge 6 years ago
parent
commit
d3486d6373
  1. 10
      home/bin/mt-git

10
home/bin/mt-git

@ -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";
Loading…
Cancel
Save