dotfiles/git_setup.sh
2021-11-25 20:54:25 +03:00

11 lines
301 B
Bash

#!/usr/bin/env bash
echo "Type in your first and last name (no accent or special characters - e.g. 'ç'): "
read -r full_name
echo "Type in your email address (the one used for your GitHub account): "
read -r email
git config --global user.email "$email"
git config --global user.name "$full_name"