07-04-2020 (2)
-gitea
This commit is contained in:
34
docs/Divers/git/gitea.md
Normal file
34
docs/Divers/git/gitea.md
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user