commit 6c8ecb88c29fb9c07bf87645108bef19d46ce779
parent c85f5cc0c846f594d7ff7588f56fafb19cf196f5
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 29 Sep 2019 14:11:11 -0400
git: aliases
Former-commit-id: ce3242959743c6d5fda839ba5617f6391e844eb9
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/git/gitconfig b/git/gitconfig
@@ -16,11 +16,14 @@
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --branches --remotes --tags --graph --oneline --decorate --author-date-order
lgv = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
today = lgv --since='midnight'
+ yesterday = lgv --since='yesterday midnight' --until='midnight'
this-week = lgv --since='last-monday'
past-week = lgv --since='1 weeks ago'
cbsr-sprint = lgv --since='last-tuesday' --until='this-tuesday'
adog = log --all --decorate --oneline --graph
+ authors = !git log --all --format='%cN <%cE>' | sort -u
+
a = add
ap = add -p
@@ -64,6 +67,8 @@
substatus = submodule status
subactive = "!git submodule status | grep -v '^-'"
+ root = rev-parse --show-toplevel
+
[merge]
tool = vimdiff