changed git.sh

This commit is contained in:
pika 2024-05-23 20:28:53 +02:00
parent 01061e47a9
commit 3fb58186a9

View file

@ -4,16 +4,16 @@
function gsa
# ─< Prompt the user to enter the repository URL to add as a submodule >────────────────────
echo "-- enter the repository to add as a submodule --"
read -l repo
read repo
# ─< Prompt the user to enter the branch to checkout (e.g., main, master) >─────────────────
echo "-- enter the branch to checkout (main/master..) --"
read -l branch
read branch
# ─< Prompt the user to enter the relative path where the submodule will be cloned >────────
# ─< Advise not to use the leading / or ./ >────────────────────────────────────────────────
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
read -l -S path
read -S path
# echo "-- enter a name for the submodule --"
# read -l name