Workaround: Attach Husky When Git for Windows Is Not Installed #128
dcm99
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the Getting Started section, this is an example of how to attach Husky to your repo:
Since Visual Studio's Git support has improved over the last few years, I have come across many developers who no longer have Git for Windows installed.
In this case, you will encounter the following error during restore:
My workaround for this is to use the git.exe provided by Visual Studio and update the PATH variable:
Maybe some of you have encountered the same problem and find this useful.
Beta Was this translation helpful? Give feedback.
All reactions