some changes
This commit is contained in:
parent
31aee02cd6
commit
6830245489
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,10 @@
|
||||||
function gsu
|
function gsu
|
||||||
read -p "-- enter the repository to add as a submodule: https://" repo
|
echo "-- enter the repository to add as a submodule: https://"
|
||||||
read -p "-- enter the branch to checkout (main/master..): " branch
|
read repo
|
||||||
read -p "-- enter the relative path, where the submodule will be cloned to. (don't use fist /" path
|
echo "-- enter the branch to checkout (main/master..): "
|
||||||
|
read branch
|
||||||
|
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist /"
|
||||||
|
read path
|
||||||
echo "git submodule add --branch $branch --name $path $repo"
|
echo "git submodule add --branch $branch --name $path $repo"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue