# Unable to deploy app when using git submodule

**URL:** <https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352>\
**Category:** Community Cloud\
**Created:** [October 17, 2020, 5:29am UTC](https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352 "2020-10-17T05:29:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benihime91](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@benihime91](https://discuss.streamlit.io/u/benihime91)\
**Post date:** [October 17, 2020, 5:29am UTC](https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352/1 "2020-10-17T05:29:26Z")

</div>

Hi i found that while deploying the app the app does not work when there are submodules present in the github repo. My guess is that streamlit is using git clone which does not clone the submodules …  
Any workarounds to this …

---

<div class="post-metadata">

**Author:** ![amey-st](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/amey-st/32/635_2.png) [@amey-st](https://discuss.streamlit.io/u/amey-st)\
**Post date:** [October 20, 2020, 12:12am UTC](https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352/2 "2020-10-20T00:12:20Z")

</div>

Hi @benihime91! You are right that Streamlit Sharing currently does not support git submodules. That said, could you please share a link to your app source code, so that we can use it as a use case for this feature?

Thanks!

---

<div class="post-metadata">

**Author:** ![benihime91](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@benihime91](https://discuss.streamlit.io/u/benihime91)\
**Post date:** [October 20, 2020, 4:33pm UTC](https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352/3 "2020-10-20T16:33:23Z")

</div>

Thanks for the reply @amey-st , I would’ve loved to share the link for the source code … but unfortunatlely i modified by repo to remove the submodules and added the submodules as a simple folder inside the repo … That way i was able to deploy the app via Streamlit Sharing .

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [January 12, 2022, 9:57pm UTC](https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352/4 "2022-01-12T21:57:13Z")

</div>


