Shell/Bash: change git commit user name and author Example
Shell/Bash Example: This is the "change git commit user name and author" Example. compiled from many sources on the internet by SimpleTutorials.org
Change Git commit user name and author
# For one commit git commit --amend --author="Author Name" # for multiple commits git rebase -i B #if you need to edit A, use git rebase -i --root #change the lines for both C and D from pick to edit #Once the rebase started, it would first pause at C You would git commit --amend --author="Author Name " #Then git rebase --continue #It would pause again at D #Then you would git commit --amend --author="Author Name " #again git rebase --continue #The rebase would complete. #Use git push -f #to update your origin with the updated commits.
* Summary: This "change git commit user name and author" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!