This project allows you to push a notification to the LaMetric clock from your git commit command using the prepare-commit-msg hook.
This notification will include the first two characters of your Git name with the issue number.
Note: This hook will will force you to write the issue number in your commit message.
- LaMetric clock connected to the same network.
-
Please make sure to define the LaMetric clock IP in your command by executing the command
export LAMETRIC_IP=192.168.1.101;* Make sure to write your LaMetric IP here. -
Copy the
prepare-commit-msgfile into you .git/hooks path inside your project. -
Edit the
prepare-commit-msgthat you just copied and write your LaMetric Key there.
Happy coding!
Screenshot of LaMetric clock showing a notification with Gitlab icon.
