Skip to content

Instantly share code, notes, and snippets.

View o6uoq's full-sized avatar

David Dolph o6uoq

View GitHub Profile
@o6uoq
o6uoq / git-fuzmit
Last active February 12, 2025 19:37
fuzmit: Conventional Commits, but Fuzzy.
#!/bin/bash
FUZMIT_JIRA_SCOPE=${FUZMIT_JIRA_SCOPE:-false}
FUZMIT_SCOPE=${FUZMIT_SCOPE:-false}
# === How-To ===
# - Place git-fuzmit (without an extension) in your $PATH, make it executable, and run via `git fuzmit`
# - Set FUZMIT_JIRA_SCOPE=true to auto-detect the Jira ID (e.g., JIRA-123) from the branch name and use it as the commit scope
# - Set FUZMIT_SCOPE=true to enable scope prompts for each and every commit