Skip to content

Instantly share code, notes, and snippets.

@hydev777
hydev777 / message.dart
Last active April 3, 2023 12:47
Class with constructor inheritance
View message.dart
class Message {
Message({ this.content, this.type });
final String? content;
final String? type;
}
class TextMessage extends Message {
@hydev777
hydev777 / Commit Formatting.md
Created August 16, 2022 01:54 — forked from brianclements/Commit Formatting.md
Angular Commit Format Reference Sheet
View Commit Formatting.md

Commit Message Guidelines

We have very precise rules over how our git commit messages can be formatted. This leads to more readable messages that are easy to follow when looking through the project history. But also, we use the git commit messages to generate the Angular change log.

Commit Message Format

Each commit message consists of a header, a body and a footer. The header has a special format that includes a type, a scope and a subject: