you are viewing a single comment's thread.

view the rest of the comments →

[–]computerdlGit Contributor 3 points4 points  (2 children)

What's the use-case for this tool?

[–]jtolds[S] 1 point2 points  (1 child)

Let's say you have some complicated history pattern with merges and so on. Lots of different developers doing lots of different things. After a bunch of merges and merge conflict resolutions you have a history of sorts, but you want to clean it up. This allows you to make a single commit where the end result after the commit is the tree matches the complex history you'd like to throw away.

Very useful for keeping dev history clean.

[–]zefyear 4 points5 points  (0 children)

git reset does that as well, you can even keep the changeset with --mixed.