Can't access .git folder on Heroku through Webpack 2 -


i'm using webpack-git-hash , on machine works expected. deploy project on heroku error:

error: command failed: git rev-parse --short=7 head fatal: not git repository (or parent mount point /app) stopping @ filesystem boundary (git_discovery_across_filesystem not set). 

what happens when push repo heroku? .git folder placed somewhere else?

as part of process of heroku transforming repository (or whatever you're pushing ci tool) runnable slug, drop git history contents. can quite big, , it's not worthwhile have in slug/container.

you can see more in slug compiler page of heroku.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -