gsu made better

This commit is contained in:
pika 2024-08-18 01:53:03 +02:00
parent 8eb40f8da9
commit 8951ad7d8a

View file

@ -328,7 +328,7 @@ _git_() {
alias ga="git add" alias ga="git add"
alias gp="git pull --recurse-submodule" alias gp="git pull --recurse-submodule"
alias gms='git maintenance start' 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 gcm="git commit -m"
alias gpu="git push --recurse-submodule=on-demand" alias gpu="git push --recurse-submodule=on-demand"
if command_exists lazygit; then if command_exists lazygit; then