Replies: 3 comments
-
Hi @rylena , To fix this, you’ll need to amend the commit with the correct user name and email. First, configure Git with the correct credentials using the commands: git config user.name "Your Name" and git config user.email "your-email@example.com". Then, use git commit --amend --reset-author to update the commit with the new author information. After amending, force-push the changes to the remote repository using git push --force. This will overwrite the previous commit with the corrected details. Note that if this repository is shared with others, inform them about the force-push to avoid conflicts. I hope this will help you. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Did you push your changes using |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
i recently made a commit using GIT and not GitHub and i think i configured my user and email incorrectly and due to the commit is not shown in my account how can i fix this?
Beta Was this translation helpful? Give feedback.
All reactions