NOCHECKIN
Test for git pre-commit hook for using @NOCHECKIN
Install / Use
/learn @clankill3r/NOCHECKINREADME
@NOCHECKIN
A pre-commit hook that prevents from commiting if the text nocheckin is present in any of the staged files.
Special thanks to ElpieKay who did all the hard work. Also thanks to jthill for a slight improvement.
The original question and source can be found here: https://stackoverflow.com/a/59133674/1022707
The reason I make a repository out of this is so people can watch it and will be notified if anyone will post an issue. Since so far this has not been heavily tested.
Changelog
V5:
- @ prefix no longer required, and search is case insensitive.
V4:
- added "--diff-filter=d" to fix problem with deleted files.
V3:
- All filenames containing @NOCHECKIN are listed now instead of only the first one.
V2:
- Not a single file is commited now when @NOCHECKIN is present (before it would commit the files that did not have an @NOCHECKIN).
V1:
- initial
Usage
This pre-commit file should be placed inside .git/hooks.
Make sure the pre-commit file has the permisions to be executed!
E.g. chmod +x pre-commit on OSX.
Notes
For those interested, it also works with Fork.

Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
