fix: hartcodierte Repo-Pfade durch portable Alternativen ersetzen
bootstrap.sh ermittelt REPO dynamisch, settings.json referenziert Hooks über ~/.claude/hooks (Symlink), auto-format.sh löst die Markdownlint-Config relativ zum Script-Standort auf. Doku-Beispiele nutzen Platzhalter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,11 +11,11 @@ Dieses Repository enthält die globale Claude-Code-Workflow-Konfiguration für a
|
||||
### Neuer Rechner (2 Schritte)
|
||||
|
||||
```bash
|
||||
git clone https://gitea.troeger-net.org/martin/claude-workflow.git /mnt/projekte/claude-workflow
|
||||
/mnt/projekte/claude-workflow/bootstrap.sh
|
||||
git clone https://gitea.troeger-net.org/martin/claude-workflow.git <pfad>
|
||||
<pfad>/bootstrap.sh
|
||||
```
|
||||
|
||||
Das Bootstrap-Skript erstellt alle Symlinks, prueft Voraussetzungen und zeigt fehlende Installationsbefehle an.
|
||||
Der Pfad ist frei wählbar. Das Bootstrap-Skript erstellt alle Symlinks, prueft Voraussetzungen und zeigt fehlende Installationsbefehle an.
|
||||
|
||||
### Voraussetzungen
|
||||
|
||||
@@ -40,13 +40,13 @@ echo 'DEIN_TOKEN' > ~/.config/gitea/token && chmod 600 ~/.config/gitea/token
|
||||
|
||||
**Pushen (Rechner 1):**
|
||||
```bash
|
||||
cd /mnt/projekte/claude-workflow
|
||||
cd <repo-pfad>
|
||||
git add -p && git commit -m "..." && git push
|
||||
```
|
||||
|
||||
**Übernehmen (Rechner 2):**
|
||||
```bash
|
||||
cd /mnt/projekte/claude-workflow && git pull
|
||||
cd <repo-pfad> && git pull
|
||||
```
|
||||
|
||||
Da alles über Symlinks verbunden ist, sind Änderungen sofort aktiv.
|
||||
|
||||
Reference in New Issue
Block a user