by zahrevsky · 2mo ago · 0 comments
I guess the main advantages of Git history are that it’s (1) uneditable and (2) directly linked to a specific commit.
The caveat is that docs can go stale while commit messages can't, it forces you to be extra careful so to be sure that the files are being correctly updated, I took care of that with a simple script that checks all the notes.
That's why I prefer to keep any important information as close as possible, either in the commit message or as a comment in the source code, to make sure it's unmissable to anyone working on it later.