How to amend your last commit in Git repository?

added by DotNetKicks
3/17/2017 2:37:55 PM

1 Kicks, 206 Views

There could be various reasons when you would like to amend your last commit. One of them is improper commit message and/or wrong committer information. In any of the case, you may like to change the previous commit. In this small post, we will learn how to amend your last Git commit message as well as the committer information (username and email).