07-04-2020 (2)

-gitea
This commit is contained in:
2020-04-07 17:51:10 +02:00
parent cf53f2e24e
commit 32bfa1a628

34
docs/Divers/git/gitea.md Normal file
View File

@@ -0,0 +1,34 @@
# 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