# Manually Migrating Repositories

**URL:** <https://forum.gitea.com/t/manually-migrating-repositories/11089>\
**Category:** Install/Maintain/Configure\
**Created:** [April 5, 2025, 10:52am UTC](https://forum.gitea.com/t/manually-migrating-repositories/11089 "2025-04-05T10:52:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mzee/32/6779_2.png) [@mzee](https://forum.gitea.com/u/mzee)\
**Post date:** [April 5, 2025, 10:52am UTC](https://forum.gitea.com/t/manually-migrating-repositories/11089/1 "2025-04-05T10:52:01Z")

</div>

### What happened

I have [Gitblit](https://www.gitblit.com/) repositories (bare git repos with data) which I would like to move across to Gitea (I use version: 1.23.6).  
Now I have moved some over to for example `git/repositories/mzee/TestRepo1.git`.

What I noticed is that, unlike Gitblit, Gitea doesn’t straight away show the repository in the web UI. That’s how I pushed all my repos from my NAS samba share based to Gitea a while ago!

And now I want to bring everything to Gitea. I run Gitea on Docker.

### What I tried

1. Admnin view (`https://mygitea.local/-/admin`) [based on this](https://forum.gitea.com/t/gui-does-not-show-any-files-in-repo-though-server-has-it/2993/3) post: I clicked “Resynchronize pre-receive, update and post-receive hooks of all repositories.” button in admin panel.
2. Comparing to another repository that was fully created by Gitea, I can see the hooks are missing in the bare repository I copied over.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/c/cc297733bfe7f68571b945fdd7e59ce62230bca8.png)

Notice in this screenshot, the `test1234.git` is created once I re-run the hooks via admin. But the repo I copied over and is visible in the UI partly is `Test1234` (case difference!). Ignore the `test12345.git`.

A screenshot of what is visible in the UI:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/d/d1b616a342891cff559e4b4e183414622cb45bba.png)

### Question…

My question is what should I do next to get this `Test1234` repo content displaying under user `mzee` in the Gitea web interface?

### Similar threads found

1. [solved] Git repository updated on disk but commits are not shown in the web interface - Install/Maintain/Configure - Gitea  
[[solved] Git repository updated on disk but commits are not shown in the web interface - #2 by howl](https://forum.gitea.com/t/solved-git-repository-updated-on-disk-but-commits-are-not-shown-in-the-web-interface/189/2)
2. Gitea web not updating pages correctly - Install/Maintain/Configure - Gitea  
[Gitea web not updating pages correctly - #13 by fosBHY](https://forum.gitea.com/t/gitea-web-not-updating-pages-correctly/1869/13)
3. Respository’s home page not updated after first push · Issue #3458 · go-gitea/gitea  
[Respository's home page not updated after first push · Issue #3458 · go-gitea/gitea · GitHub](https://github.com/go-gitea/gitea/issues/3458)

---

<div class="post-metadata">

**Author:** ![eeyrjmr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/eeyrjmr/32/1095_2.png) [@eeyrjmr](https://forum.gitea.com/u/eeyrjmr)\
**Post date:** [April 6, 2025, 12:46pm UTC](https://forum.gitea.com/t/manually-migrating-repositories/11089/2 "2025-04-06T12:46:41Z")

</div>

If you have moved bare repositories into the gitea repository area, you need to use the adopt repository feature [FAQ | Gitea Documentation](https://docs.gitea.com/help/faq#how-to-adopt-repositories-from-disk)
