Git CheckIn Issue Resolution

Issue Summary

When developers try to check in code in Azure DevOps Or any other Repository, they might receive the below error while doing commit and push.

Can’t connect to any repository: error occurred during unpacking on the remote end: The push was rejected because one or more commits contain author email ‘username@company.com’ which does not match the policy-specified patterns.

Resolution

To resolve this issue, the developer has to open their local designer and should go to,

Windows → Preferences

Then should search git->configuration as below.

Then click on AddEntry and provide 2 entries… (user.email and user.name) as below.

Then it will show as below.

Click on Apply and Close.

Now try to commit and push changes using the git repository…

Issue Resolved.

2 Likes