github-flow 를 좀 더 편하게 써보자
- brew tap bepro-company/brew
- brew install bepro-company/brew/github-flow-sugar
- brew upgrade bepro-company/brew/github-flow-sugar
- download repository or repository sources.
- Add or symlink git-* scripts to PATH.
# for DATACENTER-715 Jira ticket
git-feature 715 jira_integration # DATACENTER is a default project
git-feature DATACENTER-715 jira_integration
# for tickets of RESEARCH, EDITOR, COREVIDEO, GOLDENPASS, and SPOT(SPOTY) projects
git-feature RESEARCH-1 camera_sync
git-feature EDITOR-1 3d_player
git-feature SPOT-1 spoty_user_schedule
# Jira ticket will be attached in body automatically
# If a base branch is omitted, it aims to master
git-pr
git-pr develop
Some options can be customized via environment variable.
BR_BASE
: Base branch for checkout and PR.JIRA_PROJECT
: Jira project that ticket belongs to.