Manage git repositories in Gitea
Create a Repository
To create an empty repository click on the + sign top of the Repositories list
In the next screen some basic information must be filled out to create an empty repository.
Make sure to select the right Project in which the repository should be created!
It is possible to initialize the empty repository.
After clicking on Create repository the new empty repository page will be opened.
Manage Repositories using HTTPS connection
To clone the repository, copy the git repository URL from the top right corner and use git clone command.
Manage Repositories using SSH Connection
To clone the repository using SSH connection, first a public key must be added to the user profile.
Navigate to the user profile settings on the top right corner.
Open SSH / GPG Keys tab on the left.
Click on Add key next to Manage SSH Keys
Copy the public key into the Content field. If your SSH Key has a comment, it will automatically fill out the Key Name field.
After your SSH Key was added you can copy the git repository URL from the top right corner of the repository page. Make sure to select SSH!
For SSH connection the clone command can be used like this