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

Prochaine révision
Révision précédente
linux:forgejo [2026/06/17 09:16] – créée rootlinux:forgejo [2026/06/19 14:45] (Version actuelle) root
Ligne 11: Ligne 11:
 <code bash> <code bash>
 git config --global credential.helper manager git config --global credential.helper manager
 +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.1781687776.txt.gz · Dernière modification : de root