# Deploy error

**URL:** <https://discourse.gohugo.io/t/deploy-error/34196>\
**Category:** support\
**Created:** [August 11, 2021, 2:10am UTC](https://discourse.gohugo.io/t/deploy-error/34196 "2021-08-11T02:10:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabrinaam](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sabrinaam/32/14940_2.png) [@sabrinaam](https://discourse.gohugo.io/u/sabrinaam)\
**Post date:** [August 11, 2021, 2:10am UTC](https://discourse.gohugo.io/t/deploy-error/34196/1 "2021-08-11T02:10:40Z")

</div>

I’m having trouble deploying my website.

the following error appears after the command line:

git submodule **add** -f -b master [https: _//github.com/sabrinaam_](https://github.com/sabrinaam) _/sabrinaam.github.io.git public_

error: ‘public’ does not have a commit checked out

how can I fix this?

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [August 12, 2021, 11:53am UTC](https://discourse.gohugo.io/t/deploy-error/34196/2 "2021-08-12T11:53:02Z")

</div>

Hi there,

This is a git question, which is not Hugo-specific, and is outside of the scope of this forum.

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [August 12, 2021, 11:53am UTC](https://discourse.gohugo.io/t/deploy-error/34196/3 "2021-08-12T11:53:16Z")

</div>

Archived on August 12, 2021, 11:53am UTC


