Git Clients

hk – git hook manager and project linting tool

hk is a git hook manager and project linting tool with an emphasis on performance.

Compared to other git hook managers, hk has tighter integration with linters and is able to make use of read/write file locks in order to maximize concurrency while also preventing race conditions.’

This is free and open source software.

Key Features

  • Bunch of builtins you can use for common linters like prettier or black.
  • Stashes unstaged changes before running “fix” hooks. This prevents a common issue with pre-commit hooks where files containing both staged and unstaged changes get modified and the unstaged changes end up being staged erroneously.
  • By default, hk uses libgit2 to directly interact with git instead of shelling out many times to git. (This generally makes hk much faster but there are situations like fsmonitor where it may perform worse)
  • Rust CLI which gives it great startup performance.
  • Designed to work well with my other project mise-en-place which makes it easy to manage dependencies for hk linters.

Website: github.com/nosarthur/gita
Support:
Developer: Jeff Dickey
License: MIT License

hk

hk is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Git Hook Managers
lefthookGit hooks manager for Node.js, Ruby, Python and more
huskyGit hooks made easy
pre-commitManage and maintain multi-language pre-commit hooks
prekReimagined version of pre-commit
overcommitManage and configure Git hooks
hkGit hooks manager and project linting tool focusing on performance
simple-git-hooksSimple git hooks manager for small projects
CaptainHookFlexible Git hook manager
GithooksPlatform-independent hooks manager
git-hooksRewritten from icefox/git-hooks, with extra features
JigGit pre-commit hook on steroids

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted