Skip to content

Git `prepare-commit-msg` hook to send a notification to LaMetric clock.

Notifications You must be signed in to change notification settings

nhcsa/lametric-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

LaMetric Git

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.

Requirements

  • LaMetric clock connected to the same network.

Installation

  1. 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.

  2. Copy the prepare-commit-msg file into you .git/hooks path inside your project.

  3. Edit the prepare-commit-msg that you just copied and write your LaMetric Key there.

Happy coding!

Screenshot of LaMetric clock

Screenshot of LaMetric clock showing a notification with Gitlab icon.

About

Git `prepare-commit-msg` hook to send a notification to LaMetric clock.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages