43 lines
901 B
Markdown
43 lines
901 B
Markdown
# Gitea
|
|
|
|
|
|
|
|
https://gitea.io/en-us/
|
|
|
|
|
|
|
|
#### Installer Gitea sur Synology:
|
|
|
|
Il faut créer le paquet Gitea:
|
|
|
|
https://github.com/flipswitchingmonkey/gitea-spk
|
|
|
|
Pour DSM7, le paquet est dispo sur le repo SynoCommunity:
|
|
|
|
https://github.com/SynoCommunity/spksrc/pull/5028
|
|
|
|
#### Installer Gitea depuis les binaires:
|
|
|
|
https://docs.gitea.io/en-us/install-from-binary/#recommended-server-configuration
|
|
|
|
|
|
|
|
#### Importer un repo local dans Gitea:
|
|
|
|
Dans Gitea, créer un nouveau dépôt (ne pas cocher Initialiser le dépôt): gitea_bash
|
|
|
|
Dans le repo local, ajouter le dépôt gitea comme nouveau repo distant:
|
|
|
|
```bash
|
|
$ git remote add gitea https://clicclac.synology.me:3001/bruno/gitea_bash.git
|
|
```
|
|
|
|
Il ne reste plus qu' à pousser les commits sur le dépôt gitea:
|
|
|
|
```bash
|
|
$ git push gitea master
|
|
```
|
|
|
|
https://charlesreid1.github.io/setting-up-a-self-hosted-github-clone-with-gitea.html#gitea-pushing-local
|
|
|