github.com/driusan/bug@v0.3.2-0.20190306121946-d7f4e7f33fea/hooks/pre-commit.roadmap (about) 1 #!/bin/sh 2 # 3 # An example hook script to automatically regenerate a static 4 # version of the Roadmap on every commit. It will add it to 5 # the issues/ directory 6 # 7 # To use this file, rename it to pre-commit and put it in your 8 # .git/hooks directory. 9 bug roadmap > $(bug pwd)/../Roadmap.md 10 git add $(bug pwd)/../Roadmap.md