Indicate we want a full name for git
This commit is contained in:
parent
19e0de9049
commit
4016b93d4a
|
@ -16,7 +16,7 @@ if ! git config user.name >/dev/null 2>&1; then
|
|||
name=$(git config user.name)
|
||||
[ -z "$name" ] \
|
||||
&& [ -n "$NAME" ] && name="$NAME" || name=""
|
||||
echo -n "What is your name? [$name]: "
|
||||
echo -n "What is your full real name? [$name]: "
|
||||
read name_
|
||||
[ -n "$name_" ] && name="$name_"
|
||||
[ -z "$name" ] && err "Your name is required."
|
||||
|
|
Loading…
Reference in New Issue