Why do my GitHub commits always show as unknown author?

I’ve just set up a GitHub account and pushed an initial repository. If I look at the account level, under “Public Activity” it’s correct and says chriskessel pushed .....

If I click on the repository though, it says: unknown authored 4 minutes ago

  • Any way to guarantee that a git user doesn't use fake account info when commiting and pushing?
  • GIT: Why do I need to solve my merge conflicts twice when using rebase?
  • GitHub - How to revert changes to previous state
  • How do you rename a Git commit pushed to GitHub?
  • Deploying only changed part of a website with git to ftp (svn2web for git)
  • Compiling workflow with version control
  • I can’t figure out how to configure IntelliJ (or whatever underlying Git file) to get my name in the actual commit line. git config user.name at the command line in the project knows who I am correctly.

    I’m using IntelliJ 11, Git 1.7.9, and Windows 7.

    I’m rather puzzled, especially since the GitHub account knows who did things, but not the GitHub repository and all my commits and even the repository creation were through IntelliJ. Any ideas what to look at?

  • No git color schemes under rxvt/cygwin
  • Git - How to fix “corrupted” interactive rebase?
  • Checkout old commit and make it a new commit
  • Deploying to heroku with grunt, bower, node modules
  • Embed Git bash in PyCharm as external tool and work with it in PyCharm window
  • Git push branch error after pull rebase
  • One Solution collect form web for “Why do my GitHub commits always show as unknown author?”

    Double check your user.email setting.
    Both user.name and user.email must be set for GitHub to pick up the right Author.

    As an example, see the “Git author Unknown” question.
    See also the blog post “GitHub: Committing code to your public repository without “Unknown” author name in commits”.

    From the GitHub man page:

    Git tracks who makes each commit by checking the user’s name and email.
    In addition, we use this info to associate your commits with your GitHub account.
    To set these, enter the code below, replacing the name and email with your own. The name should be your actual name, not your GitHub username.

    $ git config --global user.name "Firstname Lastname"
    $ git config --global user.email "your_email@youremail.com"
    Git Baby is a git and github fan, let's start git clone.