From f7c63cf4c6268dce1643f15c72964495db8f72b3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 4 Jun 2016 00:51:12 +0300 Subject: [PATCH] .gitconfig: add push2all alias to push to all remotes --- .gitconfig | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5