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
#!/bin/bash | |
# For instance with feature/add_new_feature_HEYT-653 | |
# $ git commit -m"Fixed bug" | |
# will result with commit "[HEYT-653] Fixed bug" | |
# Customize which branches should be skipped when prepending commit message. | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=(master develop test) |