Skip to content

Ka-Houl/husky-conflict-hook-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

husky-conflict-hook-case


Using npm:

# Install dependency
$ npm i

# this case uses husky@^4.2.5
# its option in package.json is
```json

  "husky": {
    "hooks": {
      "pre-commit": "node script"
    }
  },
# step1
# modify the ./test.js

# step2
$ git add .

# step3
$ git commit -m 'create git conflict'
# now you can see the git commit warning tip in your bash

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published