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 list unpushed Git tags
  • git: merge back in what I merged out
  • Understanding and trying to apply git patch for fuse filesystem
  • GitHub Merge branch 'master'
  • git fails to perform any task
  • Per-directory permissions on git
  • * 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.

    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.

  • phpstorm “invalid git roots”
  • Visual Studio Team Services + git, how to avoid useless files in the debug and obj folder
  • Found a swap file by the name “.git/.MERGE_MSG.swp”
  • Git pushes files to github with wrong username
  • Prefabs & scripts missing after using source control to move Unity project to a different machine
  • deriving version numbers from a git repository
  • 2 Solutions collect form web for “git merge prompt “fatal: empty ident””

    git config --global user.email "you@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 "put@your.email.address.here"
    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

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