change author #113721
change author
#113721
-
|
how can i change the author of a commit ? |
Beta Was this translation helpful? Give feedback.
Answered by
saifeddineelhanoune
Mar 22, 2024
Replies: 2 comments
-
|
To change the author of the last commit, use git commit --amend --author="New Author Name new-email@example.com" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ysahih
-
|
We’re glad you could get this solved and we want to make sure others can do the same so we’ve reopened this discussion for better discoverability for our members. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To change the author of the last commit, use git commit --amend --author="New Author Name new-email@example.com"