mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-20 17:26:56 -05:00
admin: adopt
This commit is contained in:
parent
0b81e66c45
commit
26ce6aa32b
2 changed files with 14 additions and 0 deletions
13
docs/admin/adopt.md
Normal file
13
docs/admin/adopt.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: 'Adopt existing git directories'
|
||||
license: '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`](../config-cheat-sheet/#repository-repository) setting.
|
|
@ -20,3 +20,4 @@ These documents are targeted to people who run Forgejo on their machines.
|
|||
- [Recommended Settings and Tips](./recommendations/)
|
||||
- [GPG Commit Signatures](./signing/)
|
||||
- [Moderation tools](./moderation/)
|
||||
- [Adopt existing git directories](./adopt/)
|
||||
|
|
Loading…
Reference in a new issue