-
Notifications
You must be signed in to change notification settings - Fork 53
fix: only get local coore.hooksPath
config
#130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 945d8b1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
git config core.hooksPath will get the global config probably,and will overwrite hooks with setHooksFromConfig function,and this will affect the other project。
What do you mean by |
if you get a key, git will find .git/config firstly, but if .git/config does't have the key. git will find global path secondly, if global has the special key, git will return from global. you can use --local to tell git, I just get the key from local, if the local config does't has the key, return me empty. |
coore.hooksPath
config
@cexoso Thanks for your explanation! |
This PR hasn't been merged. The problem still exists. Is there something I need to do? |
cc @toplenboren |
git config core.hooksPath will get the global config probably,and will overwrite hooks with setHooksFromConfig function,and this will affect the other project。