diff --git a/functions/git.fish b/functions/git.fish index e37aacb..009f213 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 $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"