Git push is getting rejected with the following error message:
expected committer email \'\' but found \'karan@xyz.com\'
I have already tri
Had a similar situation where a hook was involved, as @VonC mentioned, while trying to do the initial push (which contained commits from me and other colleagues) to a empty Bitbucket Git repo (self-hosted in-house Bitbucket instance). In my case it was the YACC (Yet Another Commit Checker) hook which complained, see also this Atlassian article.
But, instead of globally deactivating the hook (as suggested by the Atlassian article), I explicitly activated it for my repo with empty settings (that overrides the global hook settings for my repo), made the initial push, then again disabled the plugin in my repo (which leaves the plugin still active, but configured with the global server settings!).