Include .git in garden build context
# 🌱|help-and-getting-started
c
We would like to be able to run our Chromatic (https://www.chromatic.com/) publish process inside a Docker container. I believe that
garden
does not include
.git
inside the build context under
.garden
. However,
chromatic
requires
git
and a
.git
project to be defined. I have tried using
buildAtSource: true
but the sync takes a long time and I am unsure how to manage includes/excludes productively. Is there a way to copy the
.git
folder into the build context?
q
HI @curved-farmer-35040, I'm pinging @alert-helicopter-61082 to see if he has the answer as I don't know of a way to force
.git
to be present.
c
Hi @quaint-dress-831 thank you!
q
@curved-farmer-35040 I've created a feature request at https://github.com/garden-io/garden/issues/5658