# Repo git dans un domaine
#### Créer un dépôt:
1. Aller sur le Domaine -> Git
2. Cliquer sur Ajouter un dépot git
3. Sélectionner Dépôt local sur votre poste de travail
4. Dépôt Git dans Plesk: rentrer le nom du dépôt *wp_yuzu-child.git*
5. 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
```bash
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
```bash
bruno@localhost:~/git/wp_yuzu-child.git$ nano config
[core]
repositoryformatversion = 0
filemode = true
bare = true
```