diff --git a/.bashrc b/.bashrc index 5b64e75..e23ca87 100644 --- a/.bashrc +++ b/.bashrc @@ -328,7 +328,7 @@ _git_() { alias ga="git add" alias gp="git pull --recurse-submodule" alias gms='git maintenance start' - alias gsu="git pull --recurse-submodule && 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 add . && git commit -m ' updated 📌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