3 ms·
> I do wish I had an easier way to split up a commit that accidentally included several unrelated changes though. Perhaps it's what you want something easier
by OJFord 4y ago
> I do wish I had an easier way to split up a commit that accidentally included several unrelated changes though.
Perhaps it's what you want something easier than, but I have `uncommit` aliased to `reset HEAD^`, and use it often as `git uncommit -p` (then amend, then the 'uncommitted' changes are unstaged ready to go in a different commit if they were wanted just elsewhere, or removed if not).
- pdmccormick 4y agoThank you, I think that is exactly what I was looking for, and just what I had secretly hoped someone might suggest in response to my comment. Thanks again!