From 852783827cac75136c57f14fd24c5ca62642a4c9 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 23 Dec 2019 10:00:37 +0000 Subject: [PATCH] Ensure git yday alias formats commits like git today Prefer the --oneline flag for `git yday` so that it is formatted like the `git today` command. --- configs/shared/.gitconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/shared/.gitconfig b/configs/shared/.gitconfig index f35279a77..4aa8e82d7 100644 --- a/configs/shared/.gitconfig +++ b/configs/shared/.gitconfig @@ -6,7 +6,7 @@ today = ! git log --date=relative --since=00:00:00 --all --no-merges --oneline --author=\"$(git config --get user.email)\" changed-files = ! git --no-pager diff --name-only $(current_branch) $(git merge-base $(current_branch) master) conflicts = ! git --no-pager diff --name-only --diff-filter=U - yday = ! git log --name-only --since=yesterday.midnight --until=today.midnight --author=\"$(git config --get user.email)\" + yday = ! git log --since=yesterday.midnight --until=today.midnight --oneline --author=\"$(git config --get user.email)\" patch-grep = log -p -S unstage = reset HEAD -- appraise = ! $HOME/go/bin/git-appraise @@ -16,7 +16,7 @@ autosquash = true autostash = true [remote "origin"] - fetch = +refs/pull/*/head:refs/remotes/origin/pr/* + fetch = +refs/pull/*/head:refs/remotes/origin/pr/* [github] user = wpcarro [core]