summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/git/config2
1 files changed, 2 insertions, 0 deletions
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