Re:Show HN: Hiding code from Git diff
by orblivion on Thursday December 14, 2017 @01:24AM
(#15920336)
It would be nice if git kept both versions of the history around. One with work in progress commits, corrections from review, and merges. The other a clean rebased history for usual history browsing.
[ Parent
| on HN ]
You can do something like that easily by keeping multiple branches around. I do that sometimes when I'm doing some major rebase/cleanup of commits spanning more than a couple of days. Just so afterwards I can compare what I end up with with what I had originally.