linux:forgejo
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| linux:forgejo [2026/06/17 09:16] – root | linux:forgejo [2026/06/19 14:45] (Version actuelle) – root | ||
|---|---|---|---|
| Ligne 13: | Ligne 13: | ||
| git remote set-url origin https:// | git remote set-url origin https:// | ||
| git push -u origin main | git push -u origin main | ||
| + | </ | ||
| + | |||
| + | ### 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 ~/ | ||
| + | echo " | ||
| + | chmod 600 ~/ | ||
| + | |||
| + | # Maintenant tu peux cloner avec URL propre | ||
| + | git clone https:// | ||
| + | # → Git utilisera automatiquement le token du fichier credentials | ||
| + | |||
| </ | </ | ||
linux/forgejo.1781687803.txt.gz · Dernière modification : de root
