Skip to content

Instantly share code, notes, and snippets.

@etiennemarais
Created June 11, 2019 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etiennemarais/0933ec592630a72e73e402c6656df2d1 to your computer and use it in GitHub Desktop.
Save etiennemarais/0933ec592630a72e73e402c6656df2d1 to your computer and use it in GitHub Desktop.
[alias]
# Git Commit, Add all and Push β€” in one step.
cap = "!f() { git add .; git commit -m \"$@\"; }; f"
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment