App-ghmulti
view release on metacpan or search on metacpan
script/ghmulti view on Meta::CPAN
HostName github.com
IdentityFile ~/.ssh/bar
IdentitiesOnly yes
Host github-baz
# User: <abc@blubb.eu>
HostName github.com
IdentityFile ~/.ssh/baz
IdentitiesOnly yes
The script looks for C<Host> names beginning with C<github->. It assumes that
the part after the hyphen is your username on github. E.g., in the example
above the github usernames are C<foo>, C<bar> and C<baz>.
The next line must be a comment line beginning with C<User:> followed by an
optional name (full name, may contain spaces) followed by an email address in
angle brackets (a second email address and a string may follow, but they are
ignored by this script). The script uses this data like this:
git config user.email EMAIL
git config user.name FULLNAME
( run in 1.740 second using v1.01-cache-2.11-cpan-39bf76dae61 )