0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-10 20:44:45 -05:00
forgejo-docs/docs/admin/adopt.md
Earl Warren 26bd403928 admin: adopt
(cherry picked from commit 26ce6aa32b)
2023-10-09 14:43:20 +00:00

565 B

title license
Adopt existing git directories CC-BY-SA-4.0

If directories containing bare git repositories exist in the [repository].ROOT hierarchy, they can be imported using the admin panel.

  • Make sure the directory names are lowercase.
  • [repository].ROOT/{user,org}/{repo}.git will become a project owned by the user or the org.
  • Go to /admin/repos/unadopted
  • In trusted environments, users can also be given similar permissions via the ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES setting.