35 lines
651 B
Markdown
35 lines
651 B
Markdown
# Gitea
|
|
|
|
|
|
|
|
https://gitea.io/en-us/
|
|
|
|
|
|
|
|
#### Installer Gitea
|
|
|
|
IL faut créer le paquet Gitea:
|
|
|
|
https://github.com/flipswitchingmonkey/gitea-spk
|
|
|
|
|
|
|
|
#### 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
|
|
|