1
0
Fork 0
Scripts/git-config-user.sh
2022-09-07 12:19:18 +02:00

9 lines
257 B
Bash
Executable file

#!/bin/bash
# Quickly setup user name and email.
echo "Current name: $(git config user.name)"
echo "Current email: $(git config user.email)"
read -p "User name: " name
git config user.name "$name"
read -p "User email: " email
git config user.email "$email"