Repo git dans un domaine¶
Créer un dépôt:¶
- Aller sur le Domaine -> Git
- Cliquer sur Ajouter un dépot git
- Sélectionner Dépôt local sur votre poste de travail
- Dépôt Git dans Plesk: rentrer le nom du dépôt wp_yuzu-child.git
- Votre site Web: choisir Non déploiement
Le dépôt est alors crée. Son url est:
- ssh: bruno@maboiteverte.fr:~/git/wp_yuzu-child.git
- https: https://bruno@maboiteverte.fr/plesk-git/wp_yuzu-child.git
bruno@localhost:~/git$ l
total 20
drwxr-xr-x 5 bruno psacln 4096 May 8 08:47 .
drwx--x--- 15 bruno psaserv 4096 May 7 17:35 ..
drwxr-xr-x 7 bruno psacln 4096 May 8 08:25 batch.git
drwxr-xr-x 7 bruno psacln 4096 May 7 20:13 mkdocs.git
drwxr-xr-x 7 bruno psacln 4096 May 8 08:47 wp_yuzu-child.git
Il s'agit d'un dépôt --bare
bruno@localhost:~/git/wp_yuzu-child.git$ nano config
[core]
repositoryformatversion = 0
filemode = true
bare = true
Dernière mise à jour:
May 31, 2020