change content .submodules back after update
This commit is contained in:
parent
47ba0c1e56
commit
933262df4d
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ logdebug "update submodules"
|
|||
#$SGIT submodule foreach "git checkout master" 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn "checkout master submodules failed on set upstream"; rc=7; }
|
||||
#$SGIT submodule foreach "git branch -u origin/master master" 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1|| { logwarn "set-upstream submodules failed on set upstream"; rc=8; }
|
||||
$SGIT submodule update --init --recursive --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; }
|
||||
$SGIT checkout .gitmodules
|
||||
logdebug "submodules updated successfully" >&2
|
||||
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue