You have a few options here.
- You can set
IMPORT_LOCAL_PATHS
totrue
in the[security]
section of your app.ini and then migrate them from a local path.
Link to docs forIMPORT_LOCAL_PATHS
- You can set Gitea as a new remote from a checked out repository and then push.
git remote add gitea https://my.gitea/user/repo.git
andgit push gitea --all && git push gitea --tags
If you do the latter, you can either create the repo first in the web UI, or enable push-to-create, in which Gitea will create non-existent repositories for you when you first push to them.
Link to docs for ENABLE_PUSH_CREATE_USER