about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--aliases.sh1
-rw-r--r--configs/shared/.gitconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/aliases.sh b/aliases.sh
index 14787a62c990..4d56755989be 100644
--- a/aliases.sh
+++ b/aliases.sh
@@ -21,6 +21,7 @@ command -v tmux >/dev/null && alias tls='tmux list-sessions' || \
 # git-specific aliases
 git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'
 git config --global alias.today 'log --since=00:00:00 --all --no-merges --oneline --author="$(git config --get user.email)"'
+git config --global alias.conflicts 'diff --name-only --diff-filter=U'
 
 alias glp="git log --graph --pretty=format:'%Cred%h%Creset -%Cblue %an %Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
 alias gprom="git pull --rebase origin master"
diff --git a/configs/shared/.gitconfig b/configs/shared/.gitconfig
index 4404e8278f0e..cd33cfa01c99 100644
--- a/configs/shared/.gitconfig
+++ b/configs/shared/.gitconfig
@@ -6,6 +6,7 @@
 	recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format=\"%(refname:short)\"
 	today = log --since=00:00:00 --all --no-merges --oneline --author=\"$(git config --get user.email)\"
 	changed-files = 
+	conflicts = diff --name-only --diff-filter=U
 [commit]
 	gpgsign = true
 [gpg]