How to do git squash commits with given commit messages -
i have several "save point" commits , squash them have more readable timeline. here situation:
> git log 29a94be3d2d4f added feature 9bf0f2730234e savepoint << pushed here 240e1ce8893e9 add ignore rule 01462e889d416 savepoint 6238e3b775027 fixed << pushed here 0d485486a42a9 update version ...... 06ad9e4fc5f64 savepoint 1462e57657434 initial commit
and have
29a94be3d2d4f added feature 240e1ce8893e9 add ignore rule 6238e3b775027 fixed 0d485486a42a9 update version 1462e57657434 initial commit
is there way script this, can say:
git squash -commits-with-log="savepoint" ~from_initial_commit
update: seems trick in git_sequence_editor
variable
Comments
Post a Comment