Skip to content

Instantly share code, notes, and snippets.

@cabans
Last active October 29, 2019 08:27
Show Gist options
  • Save cabans/fa84ccabda072c01b9274df749bf9d82 to your computer and use it in GitHub Desktop.
Save cabans/fa84ccabda072c01b9274df749bf9d82 to your computer and use it in GitHub Desktop.
Own modification of Emoji log for Git commits
#.# 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 "$*"
}
# NEW.
function gnew() {
gcap "πŸ“¦ NEW: $@"
}
# IMPROVE.
function gimp() {
gcap "πŸ‘Œ IMPROVE: $@"
}
# UPDATE.
function gupd() {
gcap "πŸ’‘ UPDATE: $@"
}
# WIP.
function gwip() {
gcap "🚧 WIP: $@"
}
# DELETE.
function gdlt() {
gcap "❌ DELETE: $@"
}
# FIX.
function gfix() {
gcap "πŸ› FIX: $@"
}
# RELEASE.
function grlz() {
gcap "πŸš€ RELEASE: $@"
}
# DOC.
function gdoc() {
gcap "πŸ“– DOC: $@"
}
# TEST.
function gtst() {
gcap "βœ… TEST: $@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment