From: Oleg Broytman Date: Fri, 3 Jun 2016 21:51:12 +0000 (+0300) Subject: .gitconfig: add push2all alias to push to all remotes X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f7c63cf4c6268dce1643f15c72964495db8f72b3;p=dotfiles.git .gitconfig: add push2all alias to push to all remotes --- diff --git a/.gitconfig b/.gitconfig index 4adbd40..7abcd3f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -26,6 +26,7 @@ lr5 = log --decorate --reverse -5 null-merge = merge --strategy=ours outgoing = log @{upstream}.. + push2all = !git remote | xargs -I% -n1 git push % remotes = remote -v ri = "!f() { git rebase --interactive --autosquash --preserve-merges ${1:-\"@{upstream\\}\"}; }; f" #root = !pwd