📝 Today I Learned - A list of all things I learn on daily basis.
til tech git amend-commit-author.md
195 B · 8 lines
Markdown
at main

Amend a Commit Author #

If you need to change the author of your last commit, you can use the --amend flag.

Command #

git commit --amend --author="New Author <new_email@example.com>"