News for hackers. Stuff that matters.
Re:At what time of day do famous programmers work? by breck on Thursday July 18, 2019 @10:45AM (#20470332)
But a lot of teams prefer that you do rebases and have a flat commit history, rather than have merge commits (so your commits would reflect the time of rebase onto master, not the time you first committed to your topic branch).

I still think this a very cool back-of-the-envelope estimate though.

Re:At what time of day do famous programmers work? by srfilipek on Thursday July 18, 2019 @12:02PM (#20471179)
> (so your commits would reflect the time of rebase onto master, not the time you first committed to your topic branch)

That's not the case with git. By default it preserves the original commit time.

Re:At what time of day do famous programmers work? by yesbabyyes on Thursday July 18, 2019 @12:09PM (#20471256)
I think they may be talking about squashing several commits before rebasing, creating new commit(s).
Re:At what time of day do famous programmers work? by breck on Thursday July 18, 2019 @12:12PM (#20471289)
Yes, this is what I meant. It wasn't clear, thanks. Generally squashing all the feature commits in a branch into 1 atomic commit in master.
Re:At what time of day do famous programmers work? by kzrdude on Thursday July 18, 2019 @12:27PM (#20471437)
It just calls it author date (it records one commit date and one author date), and one of those is preserved by rebasing. :)