n8n_node_librebooking/GIT-UPLOAD.md

2.3 KiB

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

# 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

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

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:

# 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)

git remote add origin https://github.com/USERNAME/REPO.git

SSH (empfohlen für regelmäßige Nutzung)

git remote add origin git@github.com:USERNAME/REPO.git

Fehlerbehandlung

"fatal: remote origin already exists"

git remote remove origin
git remote add origin NEW_URL

"Updates were rejected"

# VORSICHT: Nur wenn Sie sicher sind
git push -f origin main

Siehe auch