if you git commit without telling git who you are you get a message like this
$ git commit -m "From Qworp"
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
How can I make every single git commit
prompt for user.name and user.email? something like
$ git commit -am "From Qworp"
user.name: Qworp
user.email: qworp@qworp.com
[master be42c9e] From Qworp
1 file changed, 5 insertions(+), 5 deletions(-)
...
$ git commit -am "Now Ace"
user.name: Ace
user.email: ace@qworp.com
[master 56ec176] Now Ace
1 file changed, 2 insertions(+), 1 deletions(-)
And set author and committer details based on that?