🐶🐱🐭🐹🐰🦊🐻🐼🐨🐯🦁🐮🐷🐸🐵
This tool adds random animal emoji to git commit message. Let's make commit log a zoo.
- Supports both
git commit
andgit commit -m
commands. - It works also with IDEs such as VSCode and Atom.
Download the binary from the Releases page.
Or Install with go get
command.
$ go get github.com/koirand/git-zoo
Execute git zoo
command on your git repository. It will create a git hook symbolic link in .git/hooks/prepare-commit-msg
. When you commit, you see that the commit message is automatically edited.
If you have already created git hooks, you can add the command as follows:
#!/bin/sh
...
git zoo $1
To disable git hook, unlink symbolic link.
unlink .git/hooks/prepare-commit-msg
$ echo "foo" >> README.md
$ git add --all
$ git commit -m "first commit"
[master (root-commit) f543f06] 🦁 first commit
1 file changed, 1 insertion(+)
create mode 100644 README.md
$ echo "bar" >> README.md
$ git commit -am "second commit"
[master e89092b] 🐸 second commit
1 file changed, 1 insertion(+)
$ echo "baz" >> README.md
$ git commit -am "third commit"
[master ccbcd8a] 🐮 third commit
1 file changed, 1 insertion(+)