Gitlab 'you cannot push commits for ..' error
Setting is per-project and lives in push rules:
I set the credentials to the right ones the usual ways:
git config user.email "firstname.lastname@example.org"
But the commits were still using the old identity.
Solution to fix the last commit by only setting the author to the new / current one:
git commit --amend --reset-author --no-edit