Skip to content

Commit

Permalink
Normalize commiting verbatim from the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinjasaur committed Jun 27, 2018
1 parent c389080 commit 81db0df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

# Git `commit` shorthand
cm = commit
cmm = commit -m
# ... with a message verbatim from the CLI
cmm = "!f() { git commit -m \"${*:-Updates $(date +%Y-%m-%d)}\"; }; f"

# Git `status` with shorthand output
st = status -bs
Expand Down

0 comments on commit 81db0df

Please sign in to comment.