From 63d0dbcf7920a4e5c827ba62012061d1134e3c38 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 10 Aug 2016 21:00:51 +0300 Subject: [PATCH] Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias --- mk-git-alias => mk-git-aliases | 4 ++++ 1 file changed, 4 insertions(+) rename mk-git-alias => mk-git-aliases (56%) diff --git a/mk-git-alias b/mk-git-aliases similarity index 56% rename from mk-git-alias rename to mk-git-aliases index a1b7a93..83cfbe8 100755 --- a/mk-git-alias +++ b/mk-git-aliases @@ -1,5 +1,9 @@ #!/bin/sh +git config --local alias.commit-with-message \ + "!GIT_EDITOR='vim -c \"source get-commit-message.vim\"' \ + exec git commit -v" + exec git config --local alias.tag-with-message \ "!GIT_EDITOR='vim -c \"source get-commit-message.vim\"' \ exec git tag -s \`python setup.py --version\`" -- 2.39.5