Created
June 4, 2019 19:36
-
-
Save coderaaron/36f79299a8431aaf62b58b2a90b8a86c to your computer and use it in GitHub Desktop.
Use Emoji in Git commits
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
function gcap() { | |
git add . && git commit -m "$*" && git push | |
} | |
#bug | |
function gbug() { | |
gcap "π BUG: $@" | |
} | |
#improvement | |
function gimp() { | |
gcap "βοΈ IMPROVEMENT: $@" | |
} | |
#new feature | |
function gnew() { | |
gcap "π NEW: $@" | |
} | |
#tests | |
function gtest() { | |
gcap "β TEST: $@" | |
} | |
#documentation | |
function gdoc() { | |
gcap "π DOC: $@" | |
} | |
#typo | |
function gtypo() { | |
gcap "βοΈ TYPO: $@" | |
} | |
#refactoring | |
function gref() { | |
gcap "π REFACTOR: $@" | |
} | |
#release | |
function grel() { | |
gcap "π RELEASE: $@" && git tag $@ | |
} | |
#contribution | |
function gthx() { | |
gcap "π THANKS: $@" | |
} | |
#breaking | |
function gbreak() { | |
gcap "β οΈ BREAKING: $@" | |
} | |
#important | |
function gnote() { | |
gcap "βοΈ IMPORTANT: $@" | |
} | |
#experimental | |
function gexp() { | |
gcap "π EXPERIMENTAL: $@" | |
} | |
#dead code removal | |
function gdead() { | |
gcap "β»οΈ CODE CLEANUP: $@" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment