Skip to content

Instantly share code, notes, and snippets.

@useit015
Created September 25, 2020 15:20
Show Gist options
  • Save useit015/0d93223548dcf4ee776802504104b6e5 to your computer and use it in GitHub Desktop.
Save useit015/0d93223548dcf4ee776802504104b6e5 to your computer and use it in GitHub Desktop.
#.# Better Git Logs.
### Using EMOJI-LOG (https://github.com/ahmadawais/Emoji-Log).
# Git Commit, Add all and Push โ€” in one step.
function gcap() {
git commit -m "$*" && git push
}
# NEW.
function gnew() {
gcap "๐Ÿ“ฆ NEW: $@"
}
# IMPROVE.
function gimp() {
gcap "๐Ÿ‘Œ IMPROVE: $@"
}
# FIX.
function gfix() {
gcap "๐Ÿ› FIX: $@"
}
# RELEASE.
function grlz() {
gcap "๐Ÿš€ RELEASE: $@"
}
# DOC.
function gdoc() {
gcap "๐Ÿ“– DOC: $@"
}
# TEST.
function gtst() {
gcap "๐Ÿค– TEST: $@"
}
# BREAKING CHANGE.
function gbrk() {
gcap "โ€ผ๏ธ BREAKING: $@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment