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

I'd love to see a git history for our current US legislation


You're in luck, someone recreated the constitution in git with the history of edits

https://github.com/jessekphillips/usa-constitution

Edit: just noticed the dates aren't accurate, but still interesting and the authors are accurate


Can git do pre-1970 dates?


The file/wire format can, but the official implementation doesn't handle it well. There is some work in progress to make it work, for this kind of historical work.


There is a project doing exactly this for German law.[1] I also once cobbled together a rather primitive Python script which commits Swiss federal law as MD-file into a repo through GitHub actions.[2]

[1] https://github.com/bundestag/gesetze

[2] https://github.com/quadratecode/ch-law-tracker


Yes. We need git-blame here.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: