Gitea

Sign in to Gitea, create or migrate repositories, push over SSH or HTTPS, add your team, and set up email.

Updated November 24, 2026

$2.60 a month on CottageStart GiteaAbout Gitea
On this page

Gitea is a lightweight Git service with repositories, issues, pull requests, code review, wikis and a package registry. It suits individuals and small teams who want their code somewhere they control.

Getting started

  1. Sign in. Open the app from its page in Cottage and sign in with the username admin and the Admin password from Sign-in details there. Cottage only uses that password to create the account the first time the app starts.
  2. Make the account yours. Under Settings, change your password, and your username if you like. Your account starts with a placeholder email address (admin@ your app's address), which can't receive mail, so add your real address under Settings → Account → Manage Email Addresses and make it your primary one.
  3. Turn on two-factor sign-in. Under Settings → Security you can add an authenticator app or a security key.
  4. Create or bring over a repository. Choose + → New Repository, or + → New Migration to bring one over from GitHub, GitLab or another Git host, with its issues and pull requests.
  5. Set up Git access. For SSH, add your public key under Settings → SSH / GPG Keys. Your app has its own SSH address and port, shown under Sign-in and devices on the app's page in Cottage, and the clone button already uses them (more about SSH). For HTTPS, create an access token under Settings → Applications and use it as your Git password.
  6. Add your team. Sign-ups are off, so nobody else can make an account. Create accounts for people under Site Administration → Identity & Access → User Accounts, or switch off Turn off sign-ups in App settings on the app's page in Cottage to let anyone register.
  7. Set up email. Gitea sends notifications and password resets by email once you fill in the Email settings in App settings on the app's page in Cottage with your mail provider's details (how). Notifications always show in the bell menu too.

Frequently asked questions

Can I mirror a repository from GitHub?

Yes. Choose + → New Migration, pick the source, and tick This repository will be a mirror. Gitea then keeps pulling changes from the original. A one-time migration instead copies the repository, and can bring its issues, pull requests and wiki along.

Does Gitea Actions work?

Gitea Actions runs workflows on a runner, a separate program that does the actual work. Cottage doesn't provide one. You can run a runner on your own computer or server and register it with your app; the Gitea documentation explains how.

How do I use my own domain?

Add it with Add a web address on the app's page in Cottage. Gitea then uses your domain in its links and clone URLs. For SSH there's one extra record, ssh.<your domain> (more about domains).

Can people view my repositories without an account?

Public repositories can be viewed by anyone who has the address. Make a repository private in its settings to limit it to you and the people you add. To keep visitors off the whole app, you can also use access controls; they apply to SSH as well.

How do I move my data out?

Every repository can be cloned with its full history, and wikis are Git repositories too (<repo>.wiki.git). For everything, including issues and pull requests, download a backup of the whole app from Backups on the app's page in Cottage (more about backups).

Is Gitea updated automatically?

Yes. Cottage installs new versions in the update window you choose in Updates on the app's page in Cottage, and takes a snapshot first.

Troubleshooting

SSH says "Permission denied (publickey)"

  1. Check that your public key is added under Settings → SSH / GPG Keys.
  2. Use the SSH address and SSH port under Sign-in and devices on the app's page in Cottage, not the web address, and the username git. The clone button shows the full address.
  3. If you've set an IP allowlist under access controls, make sure it includes your current IPv4 address. SSH works over IPv4 only.

HTTPS asks for my password and then refuses it

Use an access token from Settings → Applications as the password, with your Gitea username. Once two-factor sign-in is on, always use a token for Git over HTTPS rather than your account password.

Email notifications or password resets don't arrive

  1. Check the Email settings in App settings on the app's page in Cottage. Use port 587 with starttls or 465 with tls; port 25 is blocked.
  2. Make sure your account's primary email address is a real one (see step 2 above).
  3. Under Site Administration → Configuration → Summary, use Send Testing Email to send yourself a test.
  4. Open the Technical log under Advanced on the app's page in Cottage and look for mail errors. Most problems are a wrong password, or a Send as address your provider hasn't verified.

A large push over HTTPS fails partway

Try pushing over SSH instead. If a push still fails, check the app's disk use with Change size on the app's page in Cottage; a full disk stops pushes.

The app is slow or restarts

Large repositories, migrations and code search use more memory. Use Change size on the app's page in Cottage to give the app more memory, then check the Technical log if it keeps restarting.

Still stuck?

Email support@cottage.host. A person reads every message. If something seems down, check Cottage's status page.