Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 

23 Zeilen
561 B

#!/bin/env bash
TEST=`git status | grep propre | wc -l`
if [ $TEST -eq 0 ]
then
	echo "La branche actuelle ($GIT_CURRENT_BRANCH) n'est pas propre"
	echo    # (optional) move to a new line
	read -p "Voulez-vous voir les modifications courantes ? " -n 1 -r
	echo    # (optional) move to a new line
	if [[ $REPLY =~ ^[YyOo]$ ]]
  	then
		git status
	fi
	echo    # (optional) move to a new line
	read -p "Voulez-vous ajouter les modifications courantes ? " -n 1 -r
	echo    # (optional) move to a new line
	if [[ $REPLY =~ ^[YyOo]$ ]]
  	then
		git add .
	fi
fi