Make Git Commit Messages Great Again!
-
Download trumpmit.py, place it somewhere in your
$PATH
list and run$ chmod +x
on it. -
Add the
git
alias:
$ git config --global alias.trumpmit '!git commit -m "$(trumpmit.py)"'
- Add your files with
git add ...
and then get a great, wonderful, yuge commit message:
$ git trumpmit
[master abc123d] I inherited a MESS and am in the process of fixing it.
666 files changed, 1776 insertions(+), 43 deletions(-)
create mode 100644 README.md
mode change 100644 => 100755 trumpmit.py
-
???
-
PROFIT!