diff --git a/.zshrc b/.zshrc index d32a335..7f5380c 100644 --- a/.zshrc +++ b/.zshrc @@ -337,7 +337,7 @@ __alias__() { alias ga="gd $1 && git add" alias gp="git pull --recurse-submodule" alias gms='git maintenance start' - alias gsu="git submodule foreach git pull && git add . && git commit -m ' updated 📌submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push" + alias gsu="git submodule foreach git pull && git submodule update --init --recursive && git add . && git commit -m ' update: submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push" alias gcm="git commit -m" alias gpu="git push --recurse-submodule=on-demand" if command_exists lazygit; then