Commiter email address does not match in IntelliJ even changing it to correct one

前端 未结 5 1725
余生分开走
余生分开走 2021-01-31 04:04

When I try to push my commits from git repository to gerrit remote repository from Linux environment in IntelliJ idea I get the following error:

remote: ERROR:           


        
5条回答
  •  别跟我提以往
    2021-01-31 04:29

    You can set the username and email for GIT integration as follows. This will help you to overcome the mismatch issue.

    Go to your project where git is initialized.

    Then enable the hidden folders and find ".git" and go inside the folder.

    Find the file called "config" and add below code and save.

    [user]
          name = username
          email = username@domaim.com
    

    Enter your correct username and email accordingly. This will be picked permanently unless you go and change it.

提交回复
热议问题