From 7456a38b5054a0c1028ce266bc25f4394a322956 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 20 Aug 2019 21:24:05 +0100 Subject: [PATCH] Add alias for root --- files/gitconfig.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/gitconfig.conf b/files/gitconfig.conf index 4d4938b..c63d381 100644 --- a/files/gitconfig.conf +++ b/files/gitconfig.conf @@ -14,6 +14,9 @@ [commit] verbose = true +[alias] + root = rev-parse --show-toplevel + [include] {% if ansible_fqdn == "TOO-Work" %} path = ~/.dotfiles/git/work.conf