By kenneth, Mon, 11/05/2018 - 15:17 # `soft` flag and `HEAD^` will drop last commit and keep changes. git reset --soft HEAD^ # `hard` flag and `HEAD^` will drop last commit but it won't keep changes. git reset --hard HEAD^