Loading .shell/funcs +5 −2 Original line number Diff line number Diff line Loading @@ -60,11 +60,14 @@ get_shell() update_submodules() { local stash=`git stash create` git reset --hard HEAD git submodule init git submodule sync git submodule update # stash after sync-update to avoid poisoning the stash local stash=`git stash create` git reset --hard HEAD git submodule foreach 'git checkout origin/` git config -f ~/.gitmodules submodule.${name}.auto-update 2>/dev/null || echo master`; Loading Loading
.shell/funcs +5 −2 Original line number Diff line number Diff line Loading @@ -60,11 +60,14 @@ get_shell() update_submodules() { local stash=`git stash create` git reset --hard HEAD git submodule init git submodule sync git submodule update # stash after sync-update to avoid poisoning the stash local stash=`git stash create` git reset --hard HEAD git submodule foreach 'git checkout origin/` git config -f ~/.gitmodules submodule.${name}.auto-update 2>/dev/null || echo master`; Loading