diff --git a/functions/git.fish b/functions/git.fish index 49d9675..4c5496f 100644 --- a/functions/git.fish +++ b/functions/git.fish @@ -1,10 +1,9 @@ function gsa - echo "-- enter the repository to add as a submodule: https://" + echo "-- enter the repository to add as a submodule --" read -S repo - echo "-- enter the branch to checkout (main/master..): " + echo "-- enter the branch to checkout (main/master..) --" read -S branch - echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist /" + echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist /) --" read -S path - echo "git submodule add --branch $branch --name $path https://$repo" + echo "git submodule add --branch $branch --name $path $repo" end -