testing..

This commit is contained in:
pika 2024-05-22 18:47:15 +02:00
parent fda25dfc7b
commit bf1c9a4d21

View file

@ -5,5 +5,13 @@ function gsa
read branch
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
read -S path
echo "-- does this command look right to you? [y/n] --"
echo "git submodule add --branch $branch --name $path $repo"
read comm
switch $comm
case [Yy]
git submodule add --branch $branch --name $path $repo
case [Nn]
echo "-- all right, just try again :) --"
end
end