feat(git): if args is empty, set to dot "."

This commit is contained in:
Ayo Ayco 2025-09-22 10:36:19 +02:00
parent 10c7986178
commit 7a79ec948c

6
git.sh
View file

@ -11,8 +11,10 @@ month_dir=$(date +"%m %b")
git reset HEAD -- .
other_args="${@:2}"
echo $@
echo "args $other_args"
if [ "$other_args" = "" ]; then
other_args="."
fi
gitStatus() {
{