changed git.sh

This commit is contained in:
pika 2024-05-23 20:24:16 +02:00
parent 3c671158f8
commit 14fdf59821

View file

@ -27,7 +27,7 @@ function gsa
switch $comm
# ─< If the user inputs 'y' or 'Y', execute the git submodule add command >─────────────────
case 'y' 'Y'
git submodule add --branch $branch --name $name $repo $path
git submodule add --branch $branch --name $name --reference $repo -- $path
git submodule update --init --recursive
git add .
git commit -m "Addet $name as a submodule"