Local git changes updates lighthouse

stijn (at skylight)'s Avatar

stijn (at skylight)

01 Aug, 2014 08:49 AM

Hi,

I've been using Lighthouse in combination with GitHub for quite some time now. For some reasons, I had to switch to my clients repository and therefor I cannot longer use GitHub's integration for Lighthouse.

I was wondering wether it's possible to create a local git-hook that would send the same information to Lighthouse, each time I do a commit.

I've looked on the internet, but most examples seem to be outdated. Do you have hook scripts available that can be used or tweaked?

Thanks,

Stijn

  1. 1 Posted by Julien on 01 Aug, 2014 02:08 PM

    Julien's Avatar

    Hi Stijn,

    Take a look at this: https://gist.github.com/vjt/53917

    I think it should still work as is. If you encounter any difficulty, just let me know.

    Cheers!

  2. 2 Posted by stijn (at skyli... on 01 Aug, 2014 02:31 PM

    stijn (at skylight)'s Avatar

    Hi Julien,

    thanks, funny, I found that repo as well a bit later. Made some modifications to it, so it suits my needs (one of my repo's isn’t GitHub for instance and I want to control the starting point of the commits go into lighthouse). I’ve released it publicly on github;

    https://github.com/stijnster/git-lighthouse

    Kind regards,

    Stijn

  3. 3 Posted by Julien on 01 Aug, 2014 02:35 PM

    Julien's Avatar

    Cool! Thanks :)​

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac