Last active
January 8, 2021 14:36
-
-
Save ovitente/47d4835660e91d577bb5b0bf9a2901dc to your computer and use it in GitHub Desktop.
create branch from task title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cbr() { | |
task_id=$1 | |
feature=$2 | |
title="$(tr '[:upper:]' '[:lower:]' <<< $3)" | |
git checkout -b "$task_id-$feature-${title// /_}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment