You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
colorMsg="${colorMsg}${BLUE}<enter>: ${RESET}ends the branch name with the input\n\n"
14
-
colorMsg="${colorMsg}${UNDERLINE}${MAGENTA}gbranchout${RESET} follows the format ${BLUE}[optional prefix]/[optional type]/${MAGENTA}<branch_name>${RESET}"
11
+
local colorMsg="${BLUE}<?>:${RESET} help, ${BLUE}<esc>:${RESET} exit"
15
12
16
-
local msg="gbranchout follows the format [optional prefix]/[optional type]/<branch_name>"
17
-
local edge="$(echo "${msg}"| sed "s/./-/g")"
18
-
local GBRANCHOUT_NAME_HEADER="${edge}\n${colorMsg}"
13
+
local edge="------------------------------------------"
local colorMsg="(optional) Give a prefix to the branch name (e.g. issue number / JIRA ticket etc.)\n"
12
-
colorMsg="${colorMsg}${BLUE}<esc>: ${RESET}skips the prefix, "
13
-
colorMsg="${colorMsg}${BLUE}<enter>: ${RESET}starts the branch name with the input prefix\n\n"
14
-
colorMsg="${colorMsg}${UNDERLINE}${MAGENTA}gbranchout${RESET} follows the format ${MAGENTA}[optional prefix]${BLUE}/[optional type]/<branch_name>${RESET}"
local colorMsg="Select the type of branch you're creating\n"
12
-
colorMsg="${colorMsg}${BLUE}<?>: ${RESET}toggles type definition, "
13
-
colorMsg="${colorMsg}${BLUE}<esc>: ${RESET}skips the branch type, "
14
-
colorMsg="${colorMsg}${BLUE}<enter>: ${RESET}selects the branch type\n\n"
15
-
colorMsg="${colorMsg}${UNDERLINE}${MAGENTA}gbranchout${RESET} follows the format ${BLUE}[optional prefix]/${MAGENTA}[optional type]${BLUE}/<branch_name>${RESET}"
11
+
local colorMsg="${BLUE}<?>:${RESET} help, ${BLUE}<esc>:${RESET} skip branch type"
16
12
17
-
local msg="<?>: toggles type definition, <esc>: skips the branch type, <enter>: selects the branch type"
0 commit comments