General > Off-Topic
Ulx Build
Stickly Man!:
Git pre and post commit hooks. I can't remember if Megiddo or I wrote the actual hooks we are using, but it gets the job done. Since our hooks are technically public, I will post them here:
*Disclaimer* This is advanced stuff and is not perfect, may cause glitches with certain git clients, etc.
https://github.com/TeamUlysses/git-hooks
iViscosity:
So do you use that with a webhook or something? I'm confused as to how that works, which probably means I should use it :P
Bytewave:
--- Quote from: iViscosity on January 25, 2017, 02:25:44 PM ---So do you use that with a webhook or something? I'm confused as to how that works, which probably means I should use it :P
--- End quote ---
Git hooks go in the .git metadata directory Git creates when you git init or git clone a repository. Specifically, they go in .git/hooks with the names describing when they should execute.
iViscosity:
Ah, thanks. I just got Git recently so I'm still new to it.
Megiddo:
--- Quote from: Stickly Man! on January 25, 2017, 10:18:48 AM ---Git pre and post commit hooks. I can't remember if Megiddo or I wrote the actual hooks we are using, but it gets the job done.
--- End quote ---
You wrote the initial version, and I generalized so it would work across all our repositories.
Let me emphasize, however, that this is the solution we chose, but may not be the best option for you.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version