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 January 3, 2025 09:51
fuzmit: Conventional Commits, but Fuzzy.
#!/bin/bash
FUZMIT_JIRA_SCOPE=${FUZMIT_JIRA_SCOPE:-false}
FUZMIT_COMMIT_EMOJIS=${FUZMIT_COMMIT_EMOJIS:-true}
# === 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_COMMIT_EMOJIS=false to disable emojis in commit type selection.