git-config-user: show current config
This commit is contained in:
parent
cc6b56e7a7
commit
ebf747e214
|
@ -1,5 +1,7 @@
|
|||
#!/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
|
||||
|
|
Loading…
Reference in a new issue