Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git's commit history being strictly ordered by time

That's the default of git log output but can be adjusted via --topo-order and --date-order. It's also worth pointing out that git commits have two timestamps, the author timestamp which is not normally affected by rebasing/amending, and the commit timestamp which is reset by rebasing/amending. Git log (again by default) shows the author timestamp but orders by commit timestamp.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: