Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
|
#!/bin/env bash
|
|
|
|
|
|
CIBLE=$1
|
|
|
if [ "$CIBLE" == "" ]
|
|
|
then
|
|
|
Using $GIT_CURRENT_BRANCH as cible
|
|
|
CIBLE=$GIT_CURRENT_BRANCH
|
|
|
fi
|
|
|
|
|
|
git_01_quick_commit.sh
|
|
|
|
|
|
if [ ! "$CIBLE" = "$GIT_CURRENT_BRANCH" ];
|
|
|
then
|
|
|
git_98_checkout_branch.sh $CIBLE
|
|
|
fi
|
|
|
|
|
|
git push all
|
|
|
|
|
|
if [ ! "$CIBLE" = "$GIT_CURRENT_BRANCH" ];
|
|
|
then
|
|
|
git_98_checkout_branch.sh $GIT_CURRENT_BRANCH
|
|
|
fi
|