17 lines
447 B
Bash
17 lines
447 B
Bash
#!/bin/bash
|
|
|
|
echo "🔄 Passage à la branche product"
|
|
git checkout product || exit 1
|
|
|
|
FILES=("Cuisine_meudon.py" "Cuisine_saclay.py" "Monitor.py" "domo91.py")
|
|
|
|
for file in "${FILES[@]}"; do
|
|
if [ -f "$file" ]; then
|
|
echo "✔️ Mise à jour de $file depuis develop"
|
|
git checkout develop -- "$file"
|
|
else
|
|
echo "⏭️ Ignoré : $file n'existe pas dans product"
|
|
fi
|
|
done
|
|
|
|
echo "✅ Fichiers mis à jour avec succès depuis develop" |