Changes
Page history
Create GITServeCL
authored
Dec 24, 2019
by
Ioan-Marius Bilasco
Show whitespace changes
Inline
Side-by-side
GITServeCL.md
0 → 100644
View page @
ad0481cf
Refaites les opérations indiquées sur la page [wiki:HGServeCL] en les adaptant à GIT.
Pour configurer les entrepôts GIT afin qu'ils acceptent des push par le réseau, il faut :
-
a) configurer .git/config
```
- [daemon]
- <tabulation> receivepack = true
```
-
b) lancer git daemon --export-all --base-path=CHEMIN_VERS_DOSSIER_PARENT
Pour tester :
-
a) cloner avec git clone git://localhost/NOM_ENTREPOT NOM_COPIE
-
b) apporter une modif
-
c) faire un push git push git://localhost/NOM_ENTREPOT branche_courante:branche_distante
-
attention si l'entrepôt n'est pas "bare", la branche_distante ne doit pas se trouver chargé dans le répertoire de travail
\ No newline at end of file