No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 

26 líneas
398 B

#!/bin/env bash
git_current_branch() {
 	git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
}
CUR_BRANCH=`git_current_branch`
CIBLE=$1
if [ "$CIBLE" == "" ]
then
	CIBLE=$CUR_BRANCH
fi
git_01_quick_commit.sh
if [ ! "$CIBLE" = "$CUR_BRANCH" ];
then
	git_00_checkout_branch.sh $CIBLE
fi
git push all
if [ ! "$CIBLE" = "$CUR_BRANCH" ];
then
	git_00_checkout_branch.sh $CUR_BRANCH
fi