# DVC pipeline with git submodule dependency

**URL:** <https://discuss.dvc.org/t/dvc-pipeline-with-git-submodule-dependency/2173>\
**Category:** Questions\
**Created:** [July 22, 2024, 7:55pm UTC](https://discuss.dvc.org/t/dvc-pipeline-with-git-submodule-dependency/2173 "2024-07-22T19:55:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aavery](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@aavery](https://discuss.dvc.org/u/aavery)\
**Post date:** [July 22, 2024, 7:55pm UTC](https://discuss.dvc.org/t/dvc-pipeline-with-git-submodule-dependency/2173/1 "2024-07-22T19:55:59Z")

</div>

Is it possible to use DVC pipelines with git submodules? I would like to have a main repository with my codebase and use DVC to track artifacts. Then I would also like to have a git submodule with a separate DVC repo to track my data. This works until I try and create stages in a pipeline that depend on the data subdirectory. The reason for this is so that I can deploy the main codebase with model and artifacts to end-devices without pulling the data as well.
