3 ms·
You could do them as git notes, which gives you a non-vendor specific mechanism for handling this kind of data in git. However, you do need to make a point abou
by IggleSniggle 4y ago
You could do them as git notes, which gives you a non-vendor specific mechanism for handling this kind of data in git. However, you do need to make a point about having changes to notes get pushed to version control, so it does require either a tool or onboarding to become useful for what you’re talking about.
Git can store a variety of other objects in the repo as well, but the built in git-notes mechanism springs most immediately to my mind as the thing you’re looking for.
- layer8 4y agoGitHub used to have some support for notes, they should bring that back: https://github.blog/2010-08-25-git-notes-display/ https://github.blog/2010-08-25-git-notes-display/
- usr1106 4y agoComments can be made specific to a code line. Git notes are attached to a SHA-1. So you would first need some standard how to refer to lines or nobody else can read your comments.