From 529f56fcad5256bea3ce3c7f5257df8ba737da5d Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 16 Jul 2020 13:57:52 +0200 Subject: [PATCH] Add alias push to all remotes --- .config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index cbdf8d8..db2149b 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -126,6 +126,7 @@ alias gs="git status" alias gc="git commit" alias gp="git pull" alias gps="git push" +alias gpsa="git remote | xargs -I remotes git push remotes master" alias gd="git diff" alias gdc="git diff --cached" alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"