Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change commit author

Reset your username to the config globally: git config --global user.name example.
Reset your email to the config globally: git config --global user.email example@email.com.
Now reset the author of your commit without edit required: git commit --amend --reset-author --no-edit.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #commit #author
ADD COMMENT
Topic
Name
1+1 =