mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-26 09:06:22 +03:00
24 lines
478 B
Plaintext
24 lines
478 B
Plaintext
title = Nice to meet you!
|
|
cards = config-name config-email
|
|
|
|
[description]
|
|
|
|
Introduce yourself using
|
|
|
|
git config --global user.name Firstname
|
|
git config --global user.email "your@mail.com"
|
|
|
|
[setup]
|
|
|
|
[actions]
|
|
|
|
test "$(git config user.name)" != "You" && hint "Hey $(git config user.name), nice to meet you!"
|
|
|
|
[win]
|
|
|
|
# Have a name configured.
|
|
test "$(git config user.name)" != "You"
|
|
|
|
# Have an email address configured.
|
|
test "$(git config user.email)" != "you@time.agency"
|