issue while running grunt : Could not read git information
Created by: mannou440
Hi ! I was working with the first version of dash-if-reference (master branch). I used to download the .zip file directly and to extract it to my apache server. Every thing was good till I moved to the second version. When I run "grunt" it gives me this issue :
Running "githash:dist" (githash) task Could not read git information: Error: Command failed: git rev-parse --abbrev-ref HEAD fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
After doing my research, I created a new repository on my server and ran "git init" inside before and after extracting the master branch .zip file. The grunt file gave me always the same error. It seems that this issue is only with the downloaded versions since every thing works when I clone the repository from the github server. . I am missing some thing ?
Thanks !