# Git Upload Anleitung Diese Anleitung erklärt, wie Sie das LibreBooking n8n Node Repository auf verschiedene Git-Plattformen hochladen können. ## Option 1: GitHub/GitLab/Bitbucket (Web Interface) 1. Erstelle ein neues Repository auf GitHub/GitLab/Bitbucket 2. Entpacke das Archiv lokal 3. Folge den Anweisungen auf der Plattform ## Option 2: Command Line (Empfohlen) ### GitHub ```bash # 1. Repository erstellen auf github.com # 2. Dann lokal: cd librebooking_n8n_node git remote add origin https://github.com/USERNAME/n8n-nodes-librebooking.git git branch -M main git push -u origin main git push origin v1.2.0 ``` ### GitLab ```bash cd librebooking_n8n_node git remote add origin https://gitlab.com/USERNAME/n8n-nodes-librebooking.git git branch -M main git push -u origin main git push origin v1.2.0 ``` ### Bitbucket ```bash cd librebooking_n8n_node git remote add origin https://bitbucket.org/USERNAME/n8n-nodes-librebooking.git git branch -M main git push -u origin main git push origin v1.2.0 ``` ## Option 3: Git Bundle verwenden Wenn Sie das Git Bundle (.bundle Datei) erhalten haben: ```bash # Bundle entpacken (klonen) git clone librebooking-n8n-node-v1.2.0.bundle librebooking_n8n_node cd librebooking_n8n_node # Remote hinzufügen git remote add origin YOUR_REMOTE_URL # Pushen mit Tags git push -u origin main --tags ``` ## Wichtige Hinweise ### Vor dem Upload prüfen - [ ] Keine sensiblen Daten (API Keys, Passwörter) im Repository - [ ] `.gitignore` ist korrekt konfiguriert - [ ] `node_modules/` und `dist/` sind nicht im Repository - [ ] Alle Dokumentation ist aktuell ### Nach dem Upload - [ ] Repository ist erreichbar - [ ] Alle Dateien sind vorhanden - [ ] Tags sind sichtbar - [ ] README wird korrekt angezeigt ## SSH vs HTTPS ### HTTPS (einfacher) ```bash git remote add origin https://github.com/USERNAME/REPO.git ``` ### SSH (empfohlen für regelmäßige Nutzung) ```bash git remote add origin git@github.com:USERNAME/REPO.git ``` ## Fehlerbehandlung ### "fatal: remote origin already exists" ```bash git remote remove origin git remote add origin NEW_URL ``` ### "Updates were rejected" ```bash # VORSICHT: Nur wenn Sie sicher sind git push -f origin main ``` ## Siehe auch - [CONTRIBUTING.md](CONTRIBUTING.md) - Beitragen zum Projekt - [README.md](README.md) - Hauptdokumentation - [RELEASE-NOTES.md](RELEASE-NOTES.md) - Versionshinweise