Learn from git history — commits, branches, tags.
Detects:
- Bug fixes ("fix", "bug", "patch")
- Features ("feat", "feature", "add")
- Reverts ("revert", "undo")
- Breaking changes ("BREAKING", "migrate")
- Documentation changes ("docs", "readme")
Usage
{:ok, result} = Recollect.Learner.Git.fetch_since("7 days ago", scope_id)
{:ok, result} = Recollect.Learner.Git.run(scope_id: scope_id)
Summary
Functions
Classify a commit message into a type atom.
Run the full git learning pipeline for a scope.