]> code.delx.au - dotfiles/commitdiff
git serve
authorJames Bunton <jbunton@atlassian.com>
Mon, 8 Mar 2021 11:27:39 +0000 (22:27 +1100)
committerJames Bunton <jbunton@atlassian.com>
Mon, 8 Mar 2021 11:27:39 +0000 (22:27 +1100)
.gitconfig

index 4c0abc361c794f3b2e97d8b6c4530d1c129dfedf..14aae39432a1d3f4c84b196975db79fb6315efba 100644 (file)
@@ -41,3 +41,4 @@
        branches-to-kill = !git branch --merged origin/master|grep -v master|xargs -n1 echo git branch -d
        mergediff = !git checkout --quiet --detach HEAD && git merge --no-edit origin/master && git diff -C10 -M10 origin/master && git checkout --quiet -
        expire-prune = !git reflog expire --expire=now --all && git gc --prune=now
+       serve = daemon --reuseaddr --base-path=. --export-all --verbose