Forgejo

Dans Forgejo, créer un token app: Avatar → Paramètres → Applications (ou /user/settings/applications)

git remote set-url origin https://vince:TON_TOKEN@git.makeitsimple.be/makeITsimple/Follow-Me.git
git push -u origin main
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

### Sur un poste prod/test

# 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