mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
[provisioning] Configure git identity
This commit is contained in:
parent
92f2b9cc32
commit
59c525064d
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
# Description: The Git version control system
|
||||
set -e
|
||||
|
||||
GIT_NAME="Correl Roush"
|
||||
GIT_EMAIL="correl@gmail.com"
|
||||
|
||||
case $_PLATFORM in
|
||||
darwin)
|
||||
_recipe brew
|
||||
|
@ -23,3 +26,6 @@ function _git {
|
|||
echo "[git] $dest already exists, skipping."
|
||||
fi
|
||||
}
|
||||
|
||||
git config --global user.email || _run "[git] Setting user.email to '$GIT_EMAIL'" git config --global user.email $GIT_EMAIL
|
||||
git config --global user.name || _run "[git] Setting user.name to '$GIT_NAME'" git config --global user.name $GIT_NAME
|
||||
|
|
Loading…
Reference in a new issue