Add the serve alias
It starts a git daemon in the local directory.
This commit is contained in:
parent
641598c997
commit
4c4af30cd4
1
config
1
config
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user