Set user.email and user.name so git commit won't fail

This commit is contained in:
Ilan Cosman 2021-02-10 17:52:59 -08:00
parent 5ca5eb7fc3
commit 22c62f67bf

View File

@ -28,6 +28,8 @@ _git # CHECK: main ?1
git add foo >/dev/null 2>&1
_git # CHECK: main +1
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git commit -am 'Add foo' >/dev/null 2>&1
# Dirty