* git serve
@ 2008-06-27 12:19 Michael J Gruber
0 siblings, 0 replies; only message in thread
From: Michael J Gruber @ 2008-06-27 12:19 UTC (permalink / raw)
To: git
Hi there
I added a small subsection to the wiki at
http://git.or.cz/gitwiki/Aliases
I hope it's OK to just go ahead and edit like I did.
I love the power of git aliases. This one shows how easy it is to
implement a "hg serve" alike "git serve".
In order to be able to use "git serve" from a subdir of the repo without
much scripting (git-rev-parse --git-dir) my alias uses the fact that
non-git aliases (beginning with "!") are executed with the top-level dir
as cwd. Is this documented/guaranteed?
Michael
P.S.: I always wondered why there's no default "view = !gitk"...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-27 12:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27 12:19 git serve Michael J Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox