Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

75%
+4 −0
Q&A How to make Husky run git hook?

Breakthrough, I found it, mere minutes after posting here. A workaround more than an answer, but it gets the script working. Reading up on husky.sh I decided that I don't have it and I don't wan...

posted 11mo ago by LAFK‭

Answer
#1: Initial revision by user avatar LAFK‭ · 2023-06-24T00:53:33Z (11 months ago)
Breakthrough, I found it, mere minutes after posting here. A workaround more than an answer, but it gets the script working.

1. Reading up on `husky.sh` I decided that I don't have it and I don't want it (need to push the work forward). _How did this work before though? Why could I push, commit, see Husky's messages?_ 
2. So, I have a workaround! A) Comment out the line `. "$(dirname -- "$0")/_/husky.sh"`. B) Add the same script to `.git/hooks`. 

Made it run now with those two steps. And I'm now thinking that perhaps I botched Husky install somehow. Will probably reinstall and see then, but for now, have spent already hours on it, so need to do something. :-)

I'm still looking for better answers, or comments.