changed git.sh
This commit is contained in:
parent
01061e47a9
commit
3fb58186a9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue