-
Notifications
You must be signed in to change notification settings - Fork 24
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
0 byte pre-commit because the location of the pre-commit file in the INSTALL file is incorrect #25
Comments
@shinokada So have you tried curl https://raw.githubusercontent.com/hybridgroup/GitHub-Wikifier/master/pre-commit > .git/hooks/pre-commit;
chmod +x .git/hooks/pre-commit; in the terminal? Yes, both give you the same contents when accessing through a web browser, but the result of curl is different. I got 0 byte I'm also using Yosemite so I can tell you that it works on Yosemite. |
Thanks. It worked.
I tried Thanks again. |
@shinokada Good. Glad to hear that. 😄 |
The location of the pre-commit the file in INSTALL file is incorrect for proper installation. So after following the installation instructions,
pre-commit
is added to the.git/hooks
folder, yet it is an empty file (0 byte).That's because GitHub changed the URL for user-generated content from
raw.github.com
toraw.githubusercontent.com
. Thuscurl https://raw.github.com/hybridgroup/GitHub-Wikifier/master/pre-commit
results in redirection and thepre-commit
becomes an empty file.So this
should be changed to
So if I do,
it works.
The text was updated successfully, but these errors were encountered: