diff --git a/.gitconfig b/.gitconfig index a5019d1..f10c4f1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,6 +13,8 @@ sdiff = diff --staged graph = log --graph --oneline submodule-pull = submodule foreach git pull + ours = "!f() { git checkout --ours $@ && git add $@; }; f" + theirs = "!f() { git checkout --theirs $@ && git add $@; }; f" [diff] renamelimit = 0