From e0e92e9bb91b49a93b8152d3e02cd53be3830991 Mon Sep 17 00:00:00 2001 From: sev Date: Mon, 28 Jun 2021 09:21:16 -0500 Subject: [PATCH] add git tree alias --- base/.gitconfig | 1 + 1 file changed, 1 insertion(+) 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] -- 2.47.0