testing..
This commit is contained in:
parent
fda25dfc7b
commit
bf1c9a4d21
1 changed files with 8 additions and 0 deletions
|
@ -5,5 +5,13 @@ function gsa
|
||||||
read branch
|
read branch
|
||||||
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
|
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
|
||||||
read -S path
|
read -S path
|
||||||
|
echo "-- does this command look right to you? [y/n] --"
|
||||||
echo "git submodule add --branch $branch --name $path $repo"
|
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
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue