git merge prompt “fatal: empty ident”
git merge "merge" HEAD cl
I got the following anwser:
* Please tell me who you are.
git config –global user.email “firstname.lastname@example.org”
git config –global user.name “Your Name”
to set your account’s default identity. Omit –global to set the
identity only in this repository.
fatal: empty ident not allowed
So, I typed:
git config chandler.chen "chen lei"
however, after config the account information, merge still get the former result.
2 Solutions collect form web for “git merge prompt “fatal: empty ident””
git config --global user.email "email@example.com" git config --global user.name "Your Name"
How exactly did this end up as
git config chandler.chen "chen lei" for you?!
Here’s what you need to run:
git config --global user.email "firstname.lastname@example.org" git config --global user.name "put your name or nickname here"
Even after fixing the identity thing, I have no idea what that merge command is trying to do. It should probably be just
git merge cl