From f04a9c444fec82efee9f617abc0f130dc7da5e00 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 30 Jan 2020 01:22:10 +0000 Subject: [PATCH] git: add `git root` Signed-off-by: Alejandro Mery --- files/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/.gitconfig b/files/.gitconfig index 39e106a..f12f675 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -24,6 +24,8 @@ autosquash = rebase -i --autosquash please = push --force-with-lease + root = rev-parse --show-toplevel + [push] default = tracking [diff]