Guides: Integrating git commit messages in Lighthouse
Github now has built in service integration with support for Lighthouse. If you use the built in service integration, you don’t need to use the following steps.
If for some reason you want to setup integration the manual way, here are the steps:
- Create a authentication token in your lighthouse profile
- Install this script as
.git/hooks/post-commit - Insert a new first line:
#!/usr/bin/env ruby - Edit the
OPTIONShash - Make it executable with
chmod +x .git/hooks/post-commit
Here’s a alternative script with a link back to GitHub, and the actual full path to changed files.
Here’s another alternative script that makes you able to push changes to lighthouse in a batch before doing git push, by adding a new git lh command (more info here).
Additional info
Last edited by vjt, 8 months ago
Versions:

