I'm working with a Git repository and would like to define custom properties to apply to each file in the repository. These properties could then be updated on each commit. Ideally the properties should be easily searchable and eventually exportable.
Is there an easy way to do this in Git? I've looked into Git notes, but as far as I can tell that's per commit not per file.
Thanks.
I'm afraid there is no built-in functionality.
You could put attributes with custom names to .gitattributes but probably it would not give much benefit compared to just placing the data to one or several files in more mature format like json or xml and commiting those files alongside your project.