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:

  • Git pull/fetch with refspec differences
  • How to convert a readonly git clone from github to a forked one
  • How does Github for Mac synchronize?
  • GIT - getting 'early eof' error on clone
  • Easy-to-backup version control for windows single developer
  • How to make “git branch” respect the “core.ignorecase” flag on Linux?
  • * 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.

  • Git branch merged on local repo but still visible on Github
  • Suppress or prevent duplicate inotifywait events?
  • Is the git binary diff algorithm (delta storage) standardized?
  • Preferred Github workflow for updating a pull request after code review
  • What is a practical workflow for keeping local changes uncommited in git?
  • Git - Difference Between 'assume-unchanged' and 'skip-worktree'
  • 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.