Last active
October 29, 2021 18:49
-
-
Save santuman/eb10e1124114c9eb992a2468cf3b3e41 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
gcap() { | |
git add . && git commit -m "$*" && git push | |
} | |
# NEW. | |
gnew() { | |
gcap "π¦ NEW: $@" | |
} | |
# IMPROVE. | |
gimp() { | |
gcap "π IMPROVE: $@" | |
} | |
# FIX. | |
gfix() { | |
gcap "π FIX: $@" | |
} | |
# RELEASE. | |
grlz() { | |
gcap "π RELEASE: $@" | |
} | |
# DOC. | |
gdoc() { | |
gcap "π DOC: $@" | |
} | |
# TEST. | |
gtst() { | |
gcap "π€ TEST: $@" | |
} | |
# BREAKING CHANGE. | |
gbrk() { | |
gcap "βΌοΈ BREAKING: $@" | |
} | |
gtype() { | |
NORMAL='\033[0;39m' | |
GREEN='\033[0;32m' | |
echo "$GREEN gnew$NORMAL β π¦ NEW | |
$GREEN gimp$NORMAL β π IMPROVE | |
$GREEN gfix$NORMAL β π FIX | |
$GREEN grlz$NORMAL β π RELEASE | |
$GREEN gdoc$NORMAL β π DOC | |
$GREEN gtst$NORMAL β π§ͺοΈ TEST | |
$GREEN gbrk$NORMAL β βΌοΈ BREAKING" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment