]> git.phdru.name Git - dotfiles.git/blobdiff - .gitconfig
.gitconfig: add push2all alias to push to all remotes
[dotfiles.git] / .gitconfig
index e4fc7b27261054d225bb737f77e0a92639acc12d..7abcd3f3665c6299916e86e1ba88ce496e150a99 100644 (file)
@@ -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
@@ -57,6 +58,9 @@
 # 3 way diffs
 #      cmd = vim -d \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" -c \"wincmd J\"
 
+[push]
+       default = simple
+
 [receive]
        denyNonFastForwards = true