From ce92e7fbcc9c845fe2b2b55c5344efb57e489550 Mon Sep 17 00:00:00 2001 From: James Blair Date: Tue, 13 Dec 2022 11:44:34 +1300 Subject: [PATCH] Added git push all remotes to .bashrc. --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 8607933..a9e5243 100644 --- a/.bashrc +++ b/.bashrc @@ -26,6 +26,9 @@ if [ -x /usr/bin/dircolors ]; then alias ll='ls -l --color=auto -h --group-directories-first' fi +# Custom git alias for pushing to all remotes at once +alias gpa='git remote | xargs -L1 git push --all' + # simplify bitwarden cli usage alias bwu='export BW_SESSION=$(bw unlock --raw > ~/.bw_session && cat ~/.bw_session)' function bwgp () { local test=$(export BW_SESSION=~/.bw_session) && bw get password "$1" | xclip -selection c; }