how to changes git user already all committed code example
Example 1: git reset commiter credentials
git commit --author="John Doe <[email protected]>"
Example 2: git reset commiter credentials
$ git config --global user.name "John Doe"
$ git config --global user.email "[email protected]"