Gitea Auto create repositories
I have been using Gitea as a source code repo for quite some time now. My instance is hosted within a docker container.
It’s really working fine, but when I wanted to create a new repository, I had to first create it in the web interface. I had a lots of old sources I wanted to add in my repo, and after a few having to use the web interface, I decided to take a closer look.
Gitea Config File
First, need to add 2 new entries in the [repository] section of our config file :
|
|
Pushing to new Repos
Here are the list of operations I do to push a new repo:
|
|
Where Archives is an Organization Name in my Gitea container.