pub fn parse_commit_message(
message: &str,
) -> (String, Option<String>, Option<HashMap<String, String>>)
Expand description
Parse a commit message and return the subject, body, and footers.
Please refer the official documentation for the commit message format. See: https://www.conventionalcommits.org/en/v1.0.0/#summary
ⓘ
<type>[optional scope]: <description> <-- Subject
[optional body] <-- Body
[optional footer(s)] <-- Footer