Open
Description
Version
3.0.1
Reproduction link
https://github.com/pravinpr/vue-create-git-hook-issue
Node and OS info
node 8.11.4 / npm 5.6.0 / MacOS High Sierra 10.13.6
Steps to reproduce
mkdir vue-create-git-hook-issue
cd vue-create-git-hook-issue
git init
mkdir java
echo "some other project" > java/README.md
vue create app
What is expected?
git hooks should have been installed in vue-create-git-hook-issue/.git/hooks/
or vue create should give option to specify where to install the git hooks
What is actually happening?
vue create app
output contains below message
setting up Git hooks
can't find .git directory, skipping Git hooks installation