31-05-2020
This commit is contained in:
42
docs/Plesk/git.md
Normal file
42
docs/Plesk/git.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Repo git dans un domaine
|
||||
|
||||
|
||||
|
||||
#### Créer un dépôt:
|
||||
|
||||
1. Aller sur le <u>Domaine</u> -> <u>Git</u>
|
||||
2. Cliquer sur <u>Ajouter un dépot git</u>
|
||||
3. Sélectionner <u>Dépôt local sur votre poste de travail</u>
|
||||
4. <u>Dépôt Git dans Plesk</u>: rentrer le nom du dépôt *wp_yuzu-child.git*
|
||||
5. <u>Votre site Web</u>: 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user