...
/Amend Last Commit Message and Revert Changes from Remote
Amend Last Commit Message and Revert Changes from Remote
Learn to modify the commit message of the last commit we made in our repository.
We'll cover the following...
Amend the recent commit message
Sometimes, we want to modify the last commit. We can change the last commit message using the following command (the commit ID is also updated after changing the commit message):
$ git commit --amend -m "message"
Note: This operation ...