git merge prompt “fatal: empty ident”

when I want to merge change from the “cl” branch using git, I typed:

git merge "merge" HEAD cl

I got the following anwser:

  • How to suppress git clone output?
  • Move .git repo to parent directory
  • Fixing 'backwards' git merge that was pushed
  • is there a way to recursively merge then rebase all branches?
  • How to 'git pull' without SSH -or- password?
  • Merge after rebasing feature branch in git
  • * Please tell me who you are.


    git config –global “”
    git config –global “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.

  • How to organize git repository for android and server code
  • Git: is it possible to use number to add(or diff) file on stage?
  • Display all first-level descendant branches using Git
  • Use Git “locally” over SSH
  • having the github in sync with svn
  • How do I reset the git master branch to the upstream branch in a forked repository?
  • 2 Solutions collect form web for “git merge prompt “fatal: empty ident””

    git config --global ""
    git config --global "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 ""
    git config --global "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

    Git Baby is a git and github fan, let's start git clone.