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