News for hackers. Stuff that matters.
Re:The database I wish I had by juped on Tuesday September 01, 2020 @05:55AM (#24340042)
Git's primary advantage over other VCS is how it makes it trivially easy to change history, though.
Re:The database I wish I had by andriosr on Tuesday September 01, 2020 @07:34AM (#24340659)
True. And what makes it easy is it's immutability. When you change history in Git, you rewrite it (rebase). But re-writing is only possible if you know every bit of the journey up to now. When you have actual updates, history is lost.
Re:The database I wish I had by afiori on Tuesday September 01, 2020 @08:21AM (#24340992)
the way git changes history is a stretch on the word change, rebasing creates a parallel history and then promotes it to be the true one. the reflog still remembers the previous history.