Files
eduplans/start-session.sh
T
2026-06-10 22:12:10 +09:00

29 lines
764 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# ============================================
# 🟢 SESSION START Gitea Pull Script
# Ausführen: am ANFANG jeder Arbeits-Session
# ============================================
echo ""
echo "🟢 Session wird gestartet..."
echo "-------------------------------"
# In den Projektordner wechseln (Pfad anpassen!)
cd ~/Coding/eduplans || { echo "❌ Ordner nicht gefunden! Pfad in Zeile 11 anpassen."; exit 1; }
echo "📁 Aktueller Ordner: $(pwd)"
echo ""
# Aktuellen Branch anzeigen
echo "🌿 Aktueller Branch: $(git branch --show-current)"
echo ""
# Neueste Änderungen vom Server holen
echo "⬇️ Lade neueste Version von Gitea..."
git pull
echo ""
echo "✅ Fertig! Du kannst loslegen."
echo "-------------------------------"
echo ""