From ea754f29a1595614cbccf3454e18aa275036de88 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Fri, 6 Oct 2017 15:08:32 +0200 Subject: Add serve alias --- .config/git/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/git/config b/.config/git/config index 8df0a7c..afd3ff9 100644 --- a/.config/git/config +++ b/.config/git/config @@ -134,3 +134,5 @@ # undo from here http://megakemp.com/2016/08/25/git-undo/ undo = "!f() { git reset --hard $(git rev-parse --abbrev-ref HEAD)@{${1-1}}; }; f" # }}} + +serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git -- cgit v1.2.3