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:
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.