.git not top level dir in project #63
-
|
Hello, Here it the code that checks it: Husky.Net/src/Husky/Cli/InstallCommand.cs Lines 54 to 61 in 9899da0 What should I do to make husky work (be able to find .git)? I can't move .git inside of the project because entire solution is one repository. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @papaja, I recommend you to install husky from the root folder, |
Beta Was this translation helpful? Give feedback.
Hi @papaja,
I recommend you to install husky from the root folder,
cd root,dotnet husky installbut also you can specify a custom path if you want to put the husky configuration file somewhere else using
--diroption.