This commit is contained in:
pika 2025-03-22 03:09:42 +01:00
parent 50c235426d
commit a1e6763a31

9
.zshrc
View file

@ -341,15 +341,18 @@ __alias__() {
alias gcm="git commit -m"
alias gpu="git push --recurse-submodule=on-demand"
gsu() {
echo_info "-- pulling submodules --"
git submodule foreach git pull --recurse-submodule
echo_info "-- updating submodules --"
echo_info "-- pulled submodules --"
git submodule update --init --recursive
echo_info "-- updated submodules --"
git diff . &&
git add .
sleep 0.3
git commit -m " update: submodules"
git push
git push &&
echo_info "push successfull"
error_log
}
if command_exists lazygit; then
alias lg="lazygit"