Outils pour utilisateurs

Outils du site


linux:forgejo

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
linux:forgejo [2026/06/17 09:16] – rootlinux:forgejo [2026/09/12 07:49] (Version actuelle) – root
Ligne 6: Ligne 6:
 <code bash> <code bash>
 git remote set-url origin https://vince:TON_TOKEN@git.makeitsimple.be/makeITsimple/Follow-Me.git git remote set-url origin https://vince:TON_TOKEN@git.makeitsimple.be/makeITsimple/Follow-Me.git
 +# ou pour un nouveau
 +git remote add origin https://git.makeitsimple.be/makeITsimple/makeitsimple-repo.git
 git push -u origin main git push -u origin main
 </code> </code>
Ligne 13: Ligne 15:
 git remote set-url origin https://vincent:appkey@git.makeitsimple.be/makeITsimple/Follow-Me.git git remote set-url origin https://vincent:appkey@git.makeitsimple.be/makeITsimple/Follow-Me.git
 git push -u origin main git push -u origin main
 +</code>
 +
 +### Sur un poste prod/test
 +
 +<code bash>
 +# Configurer le helper credentials store (chiffré minimal, suffisant pour serveur dédié)
 +git config --global credential.helper store
 +
 +# Créer le fichier ~/.git-credentials
 +echo "https://${FORGEJO_USER}:${TOKEN}@git.makeitsimple.be" > ~/.git-credentials
 +chmod 600 ~/.git-credentials
 +
 +# Maintenant tu peux cloner avec URL propre
 +git clone https://git.makeitsimple.be/vincent/makeitsimple-odoo-addons.git
 +# → Git utilisera automatiquement le token du fichier credentials
 +
 </code> </code>
linux/forgejo.1781687803.txt.gz · Dernière modification : de root