From: Oleg Broytman Date: Wed, 10 Aug 2016 18:00:51 +0000 (+0300) Subject: Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias X-Git-Tag: 0.0.15~42 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=63d0dbcf7920a4e5c827ba62012061d1134e3c38;p=m_librarian.git Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias --- 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\`"