Show HN: GetHooky – a language-agnostic Git hook manager
11–20 of 23 posts
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#12What's the documentation site using and theme? Really like the look.
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#13Earlier quoted context omitted.
There are dozens of your type out there that I don’t understand. The “I don’t want no commit hooks running on my machine. I and only I control what happens on my local machine” purists. There’s at least one in every job I work. If the thing is going to block in ci anyway, why are you opting for a push and pray approach? Why arbitrarily increase your feedback loop time and add waiting time for each loop in ci? Chances…
Valid questions. For me it's two things: 1) sometimes hooks are configured on commit, and I prefer to have a very quick and lightweight commit action. If I'm changing branches sometimes I'll commit WIP changes so I can easily come back to it later. I know git stash accomplishes a very similar functionality but it's just a preferred workflow. 2) I don't like the feedback I get from git hooks when committing in the VS…
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#14What's the documentation site using and theme? Really like the look.
Since it’s hosted on GitHub, I snooped through the repo, and it appears to be created using VitePress [1]. [1] https://vitepress.dev/
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#15Now thanks to Go and Rust, every single tool that are recommended to be installed in developers computers and server are required to be "sh -c "$(curl -fsSL " installed... We are so cooked...
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#16Earlier quoted context omitted.
There are dozens of your type out there that I don’t understand. The “I don’t want no commit hooks running on my machine. I and only I control what happens on my local machine” purists. There’s at least one in every job I work. If the thing is going to block in ci anyway, why are you opting for a push and pray approach? Why arbitrarily increase your feedback loop time and add waiting time for each loop in ci? Chances…
Valid questions. For me it's two things: 1) sometimes hooks are configured on commit, and I prefer to have a very quick and lightweight commit action. If I'm changing branches sometimes I'll commit WIP changes so I can easily come back to it later. I know git stash accomplishes a very similar functionality but it's just a preferred workflow. 2) I don't like the feedback I get from git hooks when committing in the VS…
So yeah it just boils down to the fact how you would use git, in vscode, hooks aren't great, cause its not going to display the error, but if you use the terminal, even in vscode, you'll see the error getting displayed on the terminal.
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#17Earlier quoted context omitted.
There are dozens of your type out there that I don’t understand. The “I don’t want no commit hooks running on my machine. I and only I control what happens on my local machine” purists. There’s at least one in every job I work. If the thing is going to block in ci anyway, why are you opting for a push and pray approach? Why arbitrarily increase your feedback loop time and add waiting time for each loop in ci? Chances…
Valid questions. For me it's two things: 1) sometimes hooks are configured on commit, and I prefer to have a very quick and lightweight commit action. If I'm changing branches sometimes I'll commit WIP changes so I can easily come back to it later. I know git stash accomplishes a very similar functionality but it's just a preferred workflow. 2) I don't like the feedback I get from git hooks when committing in the VS…
2) You can write hooks that make the changes for you where possible. This is what I do for lints from auto-formatters. Don't know how to handle the rest of your VS Code issues though.
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#18> multi-language package manager for pre-commit hooks
I'm all for having options, I'm just curious at what GetHooky brings to the table.
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#19Earlier quoted context omitted.
Valid questions. For me it's two things: 1) sometimes hooks are configured on commit, and I prefer to have a very quick and lightweight commit action. If I'm changing branches sometimes I'll commit WIP changes so I can easily come back to it later. I know git stash accomplishes a very similar functionality but it's just a preferred workflow. 2) I don't like the feedback I get from git hooks when committing in the VS…
1) You can pass `--no-verify` to `git commit` and it will skip the hooks. An alias would make it even more ergonomic. 2) You can write hooks that make the changes for you where possible. This is what I do for lints from auto-formatters. Don't know how to handle the rest of your VS Code issues though.
Re: Show HN: GetHooky – a language-agnostic Git hook manager
#20Earlier quoted context omitted.
1) You can pass `--no-verify` to `git commit` and it will skip the hooks. An alias would make it even more ergonomic. 2) You can write hooks that make the changes for you where possible. This is what I do for lints from auto-formatters. Don't know how to handle the rest of your VS Code issues though.
Unfortunately —-no-verify is all or nothing. If I have 10 hooks and only want to skip one of them it won’t do the job