From 8951ad7d8ade3a2e660b1d7248634f7c4fb57262 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 18 Aug 2024 01:53:03 +0200 Subject: [PATCH] gsu made better --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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