4 ms·
> Would you rather see typos in a history? Absolutely. Like, normal git log wouldn't show them only the branch merges but if you dig deeper then you'd see them
by chx 12y ago
> Would you rather see typos in a history?
Absolutely. Like, normal git log wouldn't show them only the branch merges but if you dig deeper then you'd see them. Or even allow to mark a commit as "superficial" (wikipedia has superficial edits). It is very easy to hide commits but once rebase destroys them it is impossible to see them even if needed.
Consider how scientific research works: you write down everything you do, preserve them and publish a book/paper/etc at the end. If it turns out you were not right then it's possible to peek at the notebooks later but if you were, noone ever will care.
- Walkman 12y agoI never rebase commits which clearly shows how I got from point A to point B, even if I was wrong at the first time, but keeping typos in the log I think is silly.