Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (17 sloc) 275 Bytes
# g
#
# without argument : git status
# with arguments : git with arguments
args=("$@")
if [ $# -eq 0 ]; then
git status
else
command="git "
i=0
while [ $i -lt ${#args[@]} ]
do
command="${command} '${args[$i]}' "
i=`expr $i + 1`
done
eval $command
fi