25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
|
|
#!/bin/env bash
|
|
|
|
|
|
CIBLE=$1
|
|
|
if [ "$CIBLE" == "" ]
|
|
|
then
|
|
|
CIBLE=$GIT_CURRENT_BRANCH
|
|
|
fi
|
|
|
|
|
|
git_01_quick_commit.sh
|
|
|
|
|
|
if [ ! "$CIBLE" = "$GIT_CURRENT_BRANCH" ];
|
|
|
then
|
|
|
git checkout $CIBLE
|
|
|
git pull
|
|
|
fi
|