summaryrefslogtreecommitdiff
path: root/PROJECT.md
diff options
context:
space:
mode:
authorertopogo <erwin.t.pombett@gmail.com>2025-11-26 15:58:15 +0100
committerertopogo <erwin.t.pombett@gmail.com>2025-11-26 15:58:15 +0100
commit65c3cd080d112ad92aa6399c8c6c8090ccec90cb (patch)
tree22e4eca31e812a2a4eba6c80b1be34f7e5125a37 /PROJECT.md
parentfb7b2389c33bef903f236f4dd0c0b98dfc0bbbe8 (diff)
Information: ajout de commandes pour diagnostiquer git
Diffstat (limited to 'PROJECT.md')
-rw-r--r--PROJECT.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/PROJECT.md b/PROJECT.md
index 68ea77a..ee2d62d 100644
--- a/PROJECT.md
+++ b/PROJECT.md
@@ -68,6 +68,30 @@ git commit -m "Mise à jour des fichiers de configuration"
git push origin main
```
+### 5. Diagnostic et Commandes Git Utiles
+
+Pour vérifier l'état du dépôt et diagnostiquer les problèmes :
+
+**Voir les dépôts distants configurés :**
+```powershell
+git remote -v
+```
+
+**Voir l'historique des commits :**
+```powershell
+git log --oneline --graph --decorate --all
+```
+
+**Voir l'état des fichiers (modifiés, ajoutés, non suivis) :**
+```powershell
+git status
+```
+
+**Créer le dépôt distant sur le serveur (si "fatal: repository not found") :**
+```powershell
+ssh toshiro@chillka "mkdir -p /var/data/git/repositories/config-files-keyvault.git && git init --bare /var/data/git/repositories/config-files-keyvault.git"
+```
+
## Format de fichiers-config.txt
Chaque ligne doit suivre le format :