From 64d5e3a6e702b40b88ef3b942c97982eda3c1e48 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Thu, 28 Sep 2023 12:14:30 -0300 Subject: [PATCH] feat: add git alias to print the root directory of the current project --- files/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/files/git/config b/files/git/config index f3fa997..444202d 100644 --- a/files/git/config +++ b/files/git/config @@ -19,6 +19,7 @@ see = log --graph --all --oneline last = log -1 HEAD unstage = reset HEAD + root = rev-parse --show-toplevel [credential] helper = cache [commit]