Local git config not overriding global user for project

I had committed my changes and received a permission denied with my global user. Subsequently setting the local user did nothing, though git config user.name reported the correct local user.

What worked was (courtesy of this google groups thread):

git commit --amend --reset-author

I presume the committed changes had the original author attached.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)