github.com/grantbow/fit@v0.7.1-0.20220916164603-1f7c88ac81e6/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