7 lines
267 B
Bash
Executable file
7 lines
267 B
Bash
Executable file
#!/bin/bash
|
|
profile=$1
|
|
name=$(git config -f ~/.git.d/$profile --get user.name )
|
|
email=$(git config -f ~/.git.d/$profile --get user.email )
|
|
echo "profile = $profile name = $name email = $email"
|
|
git config --local user.name $name
|
|
git config --local user.email $email
|