Closed mrosm20 closed 2 years ago
Good point, right now we have --depth=1
hard-coded in src/cmds/grow.rs
.
That should be made opt-in via a new depth: 1
attribute instead.
In the meantime removing the hard-coded --depth=1
there is a good solution.
Thanks for the report. We now create full clones by default.
You can add depth: 1
to a tree (or template) configuration to enable shallow cloning. It's an integer, so depth: 42
will create a shallow clone of depth 42.
the remotes branch aren't fetched when you perform a garden grow. you can't checkout a branch from the origin.