Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
|
#!/bin/env bash
|
|
|
|
|
|
CIBLE=$1
|
|
|
if [ "$CIBLE" == "" ]
|
|
|
then
|
|
|
echo "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
|