This repository contains helper scripts and configuration files for managing a self-hosted Gitea server.
- Shell scripts to migrate local Git repositories to Gitea
- Automation for initializing new Git repositories from folders
- Gitea API usage for dynamic remote repo creation
- Basic
.gitignoresetup for new repos - Customizable configuration options
- Clone this repo or copy the scripts into your local environment.
- Update configuration variables (Gitea URL, username, token, etc.) in the scripts.
- Run the scripts to:
- Convert folders into Git repos
- Push to your Gitea server
- Set remotes and default branches
- A Gitea account with a valid personal access token
- SSH access to your Gitea server
- Git installed on your local machine
curlinstalled for API interactions
MIT License. Use freely and modify as needed.