File | Date | Author | Commit |
---|---|---|---|
hooks | 2020-04-13 | ipmanlk | [69b3be] root commit |
README.md | 2020-04-13 | ipmanlk | [69b3be] root commit |
install.sh | 2020-04-13 | ipmanlk | [69b3be] root commit |
uninstall.sh | 2020-04-13 | ipmanlk | [69b3be] root commit |
GitQuote will show you a quote from /r/quotes/ after each commit.
$ git clone https://github.com/ipmanlk/GitQuote
$ cd GitQuote
install.sh
& uninstall.sh
scripts.$ chmod +x install.sh uninstall.sh
install.sh
script.$ ./install.sh
post-commit
file in "hooks" directory to ".git/hooks" directory in your project$ cp hooks/post-commit <your_project_path>/.git/hooks
$ chmod +x <your_project_path>/.git/hooks/post-commit
Just commit as usual. A random quote will show up everytime you make a new commit.
$ git commit -m "I want to see a random quote."
uninstall.sh
script in repo directory. $ ./uninstall.sh
.git/hooks
directory in your project.rm .git/hooks/post-commit
Notice: GitQuote will erase and create post-commit hook file