You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/help/faq.en-us.md
+11
Original file line number
Diff line number
Diff line change
@@ -449,3 +449,14 @@ It is highly recommended to back-up your database before running these commands.
449
449
If you are using Cloudflare, turn off the auto-minify option in the dashboard.
450
450
451
451
`Speed` -> `Optimization` -> Uncheck `HTML` within the `Auto-Minify` settings.
452
+
453
+
## How to adopt repositories from disk
454
+
455
+
- Add your (bare) repositories to the correct spot for your configuration (`repository.ROOT`), ensuring they are in the correct layout `<REPO_ROOT>/[user]/[repo].git`.
456
+
-**Note:** the directory names must be lowercase.
457
+
- You can also check `<ROOT_URL>/admin/config` for the repository root path.
458
+
- Ensure that the user/org exists that you want to adopt repositories for.
459
+
- As an admin, go to `<ROOT_URL>/admin/repos/unadopted` and search.
460
+
- Users can also be given similar permissions via config [`ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES`]({{< relref "doc/advanced/config-cheat-sheet.en-us.md#repository" >}}).
461
+
- If the above steps are done correctly, you should be able to select repositories to adopt.
462
+
- If no repositories are found, enable [debug logging]({{< relref "doc/advanced/config-cheat-sheet.en-us.md#repository" >}}) to check for any specific errors.
0 commit comments