2021-06-30 00:36:37 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# Quickly setup user name and email.
|
2022-09-07 12:19:18 +02:00
|
|
|
echo "Current name: $(git config user.name)"
|
|
|
|
echo "Current email: $(git config user.email)"
|
2021-06-30 00:36:37 +02:00
|
|
|
read -p "User name: " name
|
|
|
|
git config user.name "$name"
|
|
|
|
read -p "User email: " email
|
|
|
|
git config user.email "$email"
|