summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <hendrik@securosys.ch>2017-10-06 15:08:32 +0200
committerHendrik Jäger <hendrik@securosys.ch>2017-10-06 15:08:32 +0200
commitea754f29a1595614cbccf3454e18aa275036de88 (patch)
tree3e2007b62d5242f8b8f59780ae8f86935a3d4650
parent48f2ac8d148664b25e1e6bb0495c874d2c6e1bfe (diff)
Add serve alias
-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