1
0
Fork 0
Scripts/git-config-user.sh

9 lines
257 B
Bash
Raw Normal View History

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"