feat: git submodule update shell script

This commit is contained in:
hesam-init 2024-05-21 12:00:31 +03:30
parent 394a02dd98
commit 4696365f78
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[submodule]
recurse = true
update = rebase
branch = main

@ -1 +1 @@
Subproject commit e58ed229fbf3df0f2617bd548a3117f9b93839a0
Subproject commit 692efcf6c7bcbf447dea4affa9b58f78717f5d12

7
sub.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
git submodule update --recursive --remote
git submodule foreach git checkout main
git submodule foreach git pull origin main