# Unable to rebuild discourse

**URL:** <https://meta.discourse.org/t/unable-to-rebuild-discourse/344214>\
**Category:** Product Support\
**Created:** [December 24, 2024, 2:33pm UTC](https://meta.discourse.org/t/unable-to-rebuild-discourse/344214 "2024-12-24T14:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [December 24, 2024, 3:59pm UTC](https://meta.discourse.org/t/unable-to-rebuild-discourse/344214/6 "2024-12-24T15:59:02Z")

</div>

Sorry, I don’t know. Do you have a .git subdirectory? What is in it?

In my case, the config file looks like this:

```plaintext
# cat .git/config 
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://github.com/discourse/discourse_docker.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
	remote = origin
	merge = refs/heads/main

```

But this is for reference. I don’t think the fix is to edit a config file!

---

_[View the full topic](https://meta.discourse.org/t/unable-to-rebuild-discourse/344214)._
