Checkout masters of every submodule repository
This commit is contained in:
parent
248bd93d39
commit
62ba24c6c9
@ -60,6 +60,7 @@ rmdir "$tempfolder"
|
||||
# Finish syncing
|
||||
log "Updating submodules and performing basic configuration"
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" submodule update --init --recursive --remote >> "$logfile" 2>&1
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" submodule foreach 'git checkout master && git pull' >> "$logfile" 2>&1
|
||||
git --git-dir="$gitdir" --work-tree="$homedir" config status.showUntrackedFiles no >> "$logfile" 2>&1
|
||||
|
||||
# Print some post-install instructions
|
||||
|
Loading…
Reference in New Issue
Block a user