Skip to content

.git not top level dir in project #63

Answered by alirezanet
papaja asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @papaja,

I recommend you to install husky from the root folder, cd root , dotnet husky install
but also you can specify a custom path if you want to put the husky configuration file somewhere else using --dir option.

> dotnet husky install --help
Husky v0.5.4

USAGE
  husky install [options]

DESCRIPTION
  Install Husky hooks

OPTIONS
  -d|--dir          The custom directory to install Husky hooks. Default: ".husky".
  -p|--parallel     If True, husky resource creation will run once to prevent locks, when multiple instances are running Default: "True".
  --no-color        Disable color output Default: "False".
  -v|--verbose      Enable verbose output Default: "False".
  -h|--help     …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@papaja
Comment options

@alirezanet
Comment options

Answer selected by alirezanet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants