Add the serve alias

It starts a git daemon in the local directory.
This commit is contained in:
Gergely Polonkai 2019-11-13 09:06:13 +01:00
parent 641598c997
commit 4c4af30cd4
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93
1 changed files with 1 additions and 0 deletions

1
config
View File

@ -15,6 +15,7 @@
sha = rev-parse HEAD
show-tracked-ignored = !\ncd \"${GIT_PREFIX}\" &&\nuntracked_list=$(git rev-parse --git-dir)/ignored-untracked.txt &&\ngit ls-files -o -i --exclude-standard >\"${untracked_list}\" &&\nGIT_INDEX_FILE=\"\" git ls-files -o -i --exclude-standard | grep -Fvxf \"${untracked_list}\" &&\nrm -rf \"${untracked_list}\"
verify = diff ORIG_HEAD HEAD
serve = "daemon --verbose --export-all --base-path=. --reuseaddr $@ ."
[branch]
autosetuprebase = always
[color]