style: normalizare CRLF -> LF pentru scripturile shell
Doar line endings, zero modificari de continut (verificat cu
git diff --ignore-cr-at-eol: fara diferente ramase pe aceste fisiere).
Fisierele aveau CRLF comis efectiv in repo, nu doar in working tree.
Sunt scripturi care ruleaza pe Linux (migrarea Oracle, LXC 171 claude-agent),
iar deployate direct din working tree bash le refuza cu
"$'\r': command not found" - exact capcana pe care .gitattributes (comis in
9475842) o previne de acum inainte pentru fisierele noi.
Nu sunt incluse fisierele .md/.sql din roa-windows-setup: acelea au
modificari reale de continut, in curs, si apartin altui commit.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BhQBTegE4PiMPPaapLHjkc
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
#!/bin/bash
|
||||
# Script pentru a începe un task nou cu branch
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Utilizare: ~/new-task.sh <nume-branch>"
|
||||
echo "Exemplu: ~/new-task.sh fix/rezolva-bug"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BRANCH_NAME="$1"
|
||||
PROJECT_DIR="/workspace/romfastsql"
|
||||
|
||||
cd "$PROJECT_DIR" || exit 1
|
||||
|
||||
# Actualizează main
|
||||
echo "📥 Actualizez main..."
|
||||
git checkout main
|
||||
git pull origin main
|
||||
|
||||
# Creează branch nou
|
||||
echo "🌿 Creez branch: $BRANCH_NAME"
|
||||
git checkout -b "$BRANCH_NAME"
|
||||
|
||||
echo "✅ Gata! Ești pe branch-ul: $BRANCH_NAME"
|
||||
echo ""
|
||||
echo "Pornește Claude cu: source ~/.nvm/nvm.sh && claude"
|
||||
#!/bin/bash
|
||||
# Script pentru a începe un task nou cu branch
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Utilizare: ~/new-task.sh <nume-branch>"
|
||||
echo "Exemplu: ~/new-task.sh fix/rezolva-bug"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BRANCH_NAME="$1"
|
||||
PROJECT_DIR="/workspace/romfastsql"
|
||||
|
||||
cd "$PROJECT_DIR" || exit 1
|
||||
|
||||
# Actualizează main
|
||||
echo "📥 Actualizez main..."
|
||||
git checkout main
|
||||
git pull origin main
|
||||
|
||||
# Creează branch nou
|
||||
echo "🌿 Creez branch: $BRANCH_NAME"
|
||||
git checkout -b "$BRANCH_NAME"
|
||||
|
||||
echo "✅ Gata! Ești pe branch-ul: $BRANCH_NAME"
|
||||
echo ""
|
||||
echo "Pornește Claude cu: source ~/.nvm/nvm.sh && claude"
|
||||
|
||||
Reference in New Issue
Block a user