|
@@ -45,6 +45,7 @@ do
|
|
|
cd "$ENV" || exit
|
|
cd "$ENV" || exit
|
|
|
# Forcer l'URL du remote sur le dépôt unique
|
|
# Forcer l'URL du remote sur le dépôt unique
|
|
|
git remote set-url origin git@git.cse-invent.com:product/cms.events.git
|
|
git remote set-url origin git@git.cse-invent.com:product/cms.events.git
|
|
|
|
|
+ git reset --hard || { echo "Échec du reset."; exit 1; }
|
|
|
git checkout "$BRANCH"
|
|
git checkout "$BRANCH"
|
|
|
git pull origin "$ORIGIN"
|
|
git pull origin "$ORIGIN"
|
|
|
git push
|
|
git push
|
|
@@ -64,6 +65,7 @@ do
|
|
|
cd "$ENV" || exit
|
|
cd "$ENV" || exit
|
|
|
# Forcer l'URL du remote sur le dépôt unique
|
|
# Forcer l'URL du remote sur le dépôt unique
|
|
|
git remote set-url origin git@git.cse-invent.com:product/cms.events.git
|
|
git remote set-url origin git@git.cse-invent.com:product/cms.events.git
|
|
|
|
|
+ git reset --hard || { echo "Échec du reset."; exit 1; }
|
|
|
git checkout "$BRANCH"
|
|
git checkout "$BRANCH"
|
|
|
git pull origin "$ORIGIN"
|
|
git pull origin "$ORIGIN"
|
|
|
git push
|
|
git push
|