git commit --amend use

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.
Sometimes submit records only once, and once changed, just change some of the less content, you can use git commit --amend.
Here Insert Picture Description
Content at this time will enter a default vim editor, you need to want to change (for example, commit wrong comment )
and then push click on it. So git discovered last modified and last modified only once record log.

Guess you like

Origin blog.csdn.net/sinat_41747081/article/details/90676811