Type git commit –amend and press Enter.git commit --amendreference:https://github.com/git-tips/tips Post navigation Define Shortkey in the command line, Linux (Ubuntu) Apache configuration manual