From 21d500f046b53a93011cbd6b1590166256a4da7d Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 30 Nov 2016 08:46:03 +0200 Subject: [PATCH] - Added root Git alias for showing the root of the repo. --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index 2545d4d..44a343f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -9,6 +9,7 @@ posh = push --set-upstream origin HEAD pul = pull --progress push-force = push --force-with-lease + root = rev-parse --show-toplevel serve-git = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git serve-http = !git update-server-info && cd .git && python -m SimpleHTTPServer staash = stash --all -- GitLab