Commit 410fd541 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

SUppression du script recreate-test-branch.sh, c'est une mauvaise idée de...

SUppression du script recreate-test-branch.sh, c'est une mauvaise idée de recréer la branche : ça perturbe le déploiement
parent 9f5a17e7
Loading
Loading
Loading
Loading

recreate-test-branch.sh

deleted100755 → 0
+0 −15
Changes for recreate-test-branch.sh: 0 added lines, 15 removed lines.
Original line number Diff line number Diff line
#!/usr/bin/env bash

echo "Confirmez-vous la création d'une nouvelle branche 'test' à partir de la branche courante ? (Y/n) "
read doit

if [[ ${doit} != "Y" ]]; then
    echo "Abandon."
    exit 1
fi

git branch -d test && git push origin --delete test && \
git checkout -b test && git push --set-upstream origin test

echo ""
echo "/ATTENTION!\ Notez bien que vous êtes à présent sur la branche 'test'."