I am interested in some tool that lets me store (and delete) “keywords” associated with a commit. By “keyword” I simply mean simple names, like tags associated with a video. (But obviously I cannot use the word “tag”, since that’s already a technical term for something else in Git.)
These would be examples of keywords, with description/explanation in parentheses:
reviewed (The commit has been reviewed by someone.) builds (The commit builds; not compiler errors etc.) feature (The commit adds a new feature.) docs (The commit affects the project’s documentation.) configuration (The commit affects the configuration of the project.)
- Able to add keywords to a commit.
- Able to delete keywords.
- Able to both add and delete keywords without having to “rewrite” a commit. In other words, the keywords shouldn’t be (exclusively) stored some place like the commit message, since then I would have to make a new commit if I wanted to add or delete a keyword.
- Able to filter a set of commits based on the existence (or absence) of keywords. For example, a log of commit messages based on that filtering, or integration with existing tools like Git-log.
- Search for commits based on keywords.
- Probably more.
One way to implement this would be using Git-notes. That way one would be able to fulfill the criteria of being to both add and remove keywords, which you can’t do if you put the keywords directly in the commit message.