Closed bugwelle closed 11 years ago
What OS are you using, and what version of git?
git should create the hooks folder for you.
Sorry, I forgot to write that:
// I'm using the GitHub client on Mac ;)
Haha I dunno then!
We should probably just use the grunt.file.copy command, as that creates folders if they don't exist.
Could you open a PR which uses grunt.file.copy
instead of the shelljs cp?
Just updated to git 1.8.3.4. Still doesn't work.
Using grunt.file.copy
is a great idea. I don't have time to open a PR right now, but I think I can do tomorrow :)
Fixed in b4daccd9913f2bfc40d37efc4b8b47fd5bbe0787
Hello,
I know I have been submitting many issues , but I think this might be an issue, too:
Using latest code and running
sudo grunt build
throws this error:cp: copyFileSync: could not write to dest file (code=ENOENT):.git/hooks/commit-msg
By creating the folder
hooks
manually in.git
, I don't get this error.Note: I'm using
sudo
because otherwise I get this error:I think some files don't have the required permission.
Does someone know how to fix this?
Thanks, Andre