aboutsummaryrefslogtreecommitdiff
path: root/.config/git/config##template
diff options
context:
space:
mode:
Diffstat (limited to '.config/git/config##template')
-rw-r--r--.config/git/config##template4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/git/config##template b/.config/git/config##template
index 8f34c5d..0a3418a 100644
--- a/.config/git/config##template
+++ b/.config/git/config##template
@@ -33,6 +33,10 @@
l = log
d = diff
cloc = !git ls-files -z | xargs -0 cloc
+ conflict = !git diff --name-only --diff-filter=U --relative
+ ec = !git conflict -z | xargs -0 -- $EDITOR
+ ours = !git conflict -z | xargs -0 -- git checkout --ours
+ theirs = !git conflict -z | xargs -0 -- git checkout --theirs
[pager]
log = diff-highlight | less
show = diff-highlight | less