https://garden.io logo
#🌱|help-and-getting-started
Include .git in garden build context
# 🌱|help-and-getting-started
c

curved-farmer-35040

01/10/2024, 4:15 AM
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

quaint-dress-831

01/11/2024, 3:26 PM
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

curved-farmer-35040

01/16/2024, 8:26 PM
Hi @quaint-dress-831 thank you!
q

quaint-dress-831

01/23/2024, 9:55 AM
@curved-farmer-35040 I've created a feature request at https://github.com/garden-io/garden/issues/5658