changed git.sh

This commit is contained in:
pika 2024-05-23 20:26:06 +02:00
parent 14fdf59821
commit 01061e47a9

View file

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