Skip to content

Instantly share code, notes, and snippets.

View owezzy's full-sized avatar
☀️
Software Engineering

Owen Adirah owezzy

☀️
Software Engineering
View GitHub Profile
@timkinnane
timkinnane / README.md
Last active August 11, 2024 22:29
Apply branch name format check on commits

Enforce branch name conditions with git hooks

The pre-commit git hook tests branch name against a text pattern.

If commits don't match the pattern, they will error and contributors will have the opportunity to rename the branch before trying to commit again.

Patterns

The example pattern ensures branch names are:

  • scoped by type of change and team owner
@isaacplmann
isaacplmann / table-of-contents.md
Last active September 17, 2024 05:20
Advanced Angular Patterns