dolt icon indicating copy to clipboard operation
dolt copied to clipboard

Add amend option for commit

Open tanyongzhi opened this issue 1 year ago • 0 comments

This PR adds the ability to amend the commit at HEAD. It accomplishes this by first soft resetting to HEAD~1 before applying the new commit. Empty new amended commits are allowed to support the original use case of changing the commit messages of previous commits.

Note that this PR does not add the amend feature to the SQL stored procedures.

Fixes #2338

tanyongzhi avatar Aug 10 '22 05:08 tanyongzhi