Git uses invalid author name in commits

When i commit git uses not company mail but my personal, which i use in chrome, i do commits using ssh URL and ssh key contains correct mail address, in git lab commits are also under my name but when i open commit author there is my personal URL with nick name. Usually i commit using intellij idea but same result with console commands

I have already reinstalled git and replaced ssh key with new one but it still use my personal nick as author.

  • How to avoid specifying absolute file path while git-add
  • Remove a merge commit, keeping current changes
  • Understanding TFS from a Git background; specifically how branching differs in TFS
  • Follow renames when performing git subtree split
  • Android Repo init failed
  • Is there a Bazaar equivalent of Git default branching?
  • So how can i change author of new commits, so it’ll be by default correct?
    i don’t want to write console commands with author argument every time i commit.

    OS windows 7

  • If a fork is forked, is it still possible to get upstream changes from the root project?
  • Enforce git branch policies
  • How do I ignore numeric logs in git?
  • How add two branch (master & develop) to redmine
  • How do I “undo an undo” in git?
  • Git hangs while writing objects
  • 2 Solutions collect form web for “Git uses invalid author name in commits”

    Update your Git config file with required Name and Email Id.

    You can update your config file from Git Bash:

    git config --global "[Your name]"
    git config --global [email address]

    This will set a global username and email.

    To check your current settings:

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