Skip to content

Commit

Permalink
add quoting around git email and full_name, to make the script less l…
Browse files Browse the repository at this point in the history
…ikely to break in the case of bad output
  • Loading branch information
TedHartDavis committed Oct 31, 2021
1 parent f002b0e commit ef9177e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ read full_name
echo "Type in your email address (the one used for your GitHub account): "
read email

git config --global user.email $email
git config --global user.name $full_name
git config --global user.email "$email"
git config --global user.name "$full_name"

git add .
git commit --message "My identity for @lewagon in the gitconfig"
Expand Down

0 comments on commit ef9177e

Please sign in to comment.