Can't push to repo - does not follow the pattern

Problem to solve

When I try to git push code from my local repo, I get the following error message:

remote: GitLab: Committer's email '' does not follow the pattern 'thedunkster'
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to ''

Steps to reproduce

Create demo account
git clone the repo to a local machine
Make some changes to the repo, commit and push

Also, I tried to create a Maven Build pipeline using the pipeline editor, but when I tried to commit changes I get the same error.


Please select whether options apply, and add the version information.