From: Oleg Broytman Date: Wed, 10 Aug 2016 18:02:07 +0000 (+0300) Subject: Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias X-Git-Tag: 0.0.1~35 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3b998d3e75a5058385746f78216d234b592333a5;p=sqlconvert.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\`"