--- import BaseLayout from "@/layouts/BaseLayout.astro"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Textarea } from "@/components/ui/textarea"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; const user = Astro.locals.user; if (!user) { return Astro.redirect("/login"); } ---

Import a repository

Bring in an existing repository from GitHub, GitLab, Bitbucket, or any other Git service. You can keep it in sync with the source automatically.

Source repository Paste the URL of the repository you want to import.

Supports https://, git@host:path, ssh:// URLs, and the owner/repository shorthand (GitHub).

Only needed for private repositories. Use an https:// URL. The token is stored encrypted and used only for mirror syncs.

Repository details
{user.username}
/

Defaults to the source repository's name.