From: sev Date: Mon, 28 Jun 2021 14:21:16 +0000 (-0500) Subject: add git tree alias X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/977f3ab38f7bf6ad3b7801870a1ca13b7bdaad80?ds=inline add git tree alias --- diff --git a/base/.gitconfig b/base/.gitconfig index 8d0cd8f..1f7f15e 100644 --- a/base/.gitconfig +++ b/base/.gitconfig @@ -6,6 +6,7 @@ push-all = !git remote | xargs -n1 git push submodules-pull = submodule foreach git pull origin master pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" + tree = log --oneline --graph --branches --color [pull] ff = only [init]