09.configure_git.sh 292 B

12345678910111213
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. read -rp "Enter Git user email: " gitUserEmail
  7. git config --global user.email "$gitUserEmail"
  8. read -rp "Enter Git user name: " gitUserName
  9. git config --global user.name "$gitUserName"
  10. git config --global pull.rebase false