From 01061e47a999c857edaa0adee9d64b8d9515ab48 Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 23 May 2024 20:26:06 +0200 Subject: [PATCH] changed git.sh --- functions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/git.fish b/functions/git.fish index 7eb8e9b..a33c9dd 100644 --- a/functions/git.fish +++ b/functions/git.fish @@ -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 --reference $repo -- $path + git submodule add --branch $branch --name $name $repo $path git submodule update --init --recursive git add . git commit -m "Addet $name as a submodule"