addet some functionality to the function 'gsa'
This commit is contained in:
parent
d0a4e59185
commit
ce8996138a
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ function gsa
|
|||
# ─< If the user inputs 'y' or 'Y', execute the git submodule add command >─────────────────
|
||||
case 'y' 'Y'
|
||||
git submodule add --branch $branch --name $name $repo $path
|
||||
git add .
|
||||
git commit -m "Addet $name as a submodule"
|
||||
git push
|
||||
|
||||
# ─< If the user inputs 'n' or 'N', notify them to try again >──────────────────────────────
|
||||
case 'n' 'N'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue