0

I'm getting error

remote: ERROR: 4020ffbb63204e7aeb5431f672ac74f8fc929acd has failed hook 'Enforce_Author': 
<USER> not found in Stash!

Any help would be appreciated

neshkeev
  • 6,280
  • 3
  • 26
  • 47
Jijo John
  • 1,368
  • 2
  • 17
  • 31

1 Answers1

0

It looks like you have some access control mechanisms in place that validate commits authors against current user accounts. You will need to contact the administrator of your Stash instance to work around this feature, or you will need to use something like git filter-branch to rewrite the commits to have a new name/email.

For details on the latter, see the git-filter-branch man page, which includes an example of using the --env-filter option to do rewrite git author and comitter names/emails.

larsks
  • 277,717
  • 41
  • 399
  • 399