File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ You can create a file `.ignore` in your directory to add custom branches you wan
3636hot-fix
3737sprint-11
3838new-feature
39+ user-story-5
3940```
4041
4142## License
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if [ -f "$IGNORED_PATH" ]
99then
1010 CUSTOM_BRANCHES=$( cat " $IGNORED_PATH " )
1111 BRANCHES=( $CUSTOM_BRANCHES )
12- IGNORED_BRANCHES=( ${IGNORED_BRANCHES[@]} ${BRANCHES[@]} )
12+ IGNORED_BRANCHES=( ${IGNORED_BRANCHES[@]} ${BRANCHES[@]} )
1313fi
1414
1515CURRENT_BRANCH_CMD=" git rev-parse --abbrev-ref HEAD"
3030
3131if [ " $IS_IGNORED " == false ]
3232then
33- echo " Commiting with branch name -> $CURRENT_BRANCH "
34- eval $COMMIT_WITH_BRANCH
33+ echo " Commiting with branch name -> $CURRENT_BRANCH "
34+ eval $COMMIT_WITH_BRANCH
3535else
36- echo " Commiting with default branch"
37- eval $DEFAULT_COMMIT
36+ echo " Commiting with default branch"
37+ eval $DEFAULT_COMMIT
3838fi
You can’t perform that action at this time.
0 commit comments