diff --git a/docs/Divers/git/gitea.md b/docs/Divers/git/gitea.md new file mode 100644 index 0000000..c006da3 --- /dev/null +++ b/docs/Divers/git/gitea.md @@ -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 +