Skip to content

Instantly share code, notes, and snippets.

@mumairofficial
Created March 14, 2019 08:18
Show Gist options
  • Save mumairofficial/24b685ccf45e20a3d50868086dfa30d0 to your computer and use it in GitHub Desktop.
Save mumairofficial/24b685ccf45e20a3d50868086dfa30d0 to your computer and use it in GitHub Desktop.
[user]
name = mumair
email = [email protected]
[aliash]
gcmsg = commit -m
[alias]
# Git Commit, Add all and Push β€” in one step.
cap = "!f() { git commit -m \"$@\"; }; f" # git push; <- can add this as well | git add .;
# NEW.
new = "!f() { git cap \"✨ NEW: $@\"; }; f"
# IMPROVE.
imp = "!f() { git cap \"πŸ‘Œ IMPROVE: $@\"; }; f"
# FIX.
fix = "!f() { git cap \"πŸ› FIX: $@\"; }; f"
# RELEASE.
rlz = "!f() { git cap \"πŸš€ RELEASE: $@\"; }; f"
# DOC.
doc = "!f() { git cap \"πŸ“– DOC: $@\"; }; f"
# TEST.
tst = "!f() { git cap \"βœ… TEST: $@\"; }; f"
# REFACTOR.
refactor = "!f() { git cap \"♻️ REFACTOR: $@\"; }; f"
# INITIAL COMMIT.
init = "!f() { git cap \"πŸŽ‰ Initial Commit: $@\"; }; f"
# COSMETIC.
cosmetic = "!f() { git cap \"πŸ’„ COSMETIC: $@\"; }; f"
# PERFORMANCE.
performance = "!f() { git cap \"πŸ’ͺ PERFORMANCE: $@\"; }; f"
# BREAKING CHANGES.
breaking = "!f() { git cap \"πŸ’₯ BREAKING CHANGES: $@\"; }; f"
# GENERAL UPDATES.
updates = "!f() { git cap \"⚑️ UPDATES: $@\"; }; f"
# LINT.
lint = "!f() { git cap \"πŸ‘• LINT: $@\"; }; f"
# code clean up (Removing code or files) πŸ”₯
# Critical hotfix πŸš‘
# improving strcture / format of the code 🎨
# Release / Deploying Stuff πŸš€
# Fix security issues πŸ”’
# Linter warnings fix 🚨
# Work in progress 🚧
# Fixed CI build πŸ’š
# Code refactoring ♻️
# Dependency ⬆️ ⬇️ βž• βž–
# Writing bad code that need to be improved πŸ’©
# Typos fix ✏️
# Changes revert βͺ
# Code update due to code review changes πŸ‘Œ
# Improved user experience usability 🚸
# Improved performance ⚑️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment