{"thread":{"id":"14181","subject":"git serve","startedAt":"2008-06-27T12:19:09Z","lastAt":"2008-06-27T12:19:09Z","messageCount":1,"participants":["Michael J Gruber"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"81380","messageId":"g42lru$gsv$1@ger.gmane.org","threadId":"14181","inReplyTo":null,"subject":"git serve","fromName":"Michael J Gruber","fromEmail":"michaeljgruber+gmane@fastmail.fm","sentAt":"2008-06-27T12:19:09Z","receivedAt":"2008-06-27T12:19:09Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Hi there\n\nI added a small subsection to the wiki at\n\nhttp://git.or.cz/gitwiki/Aliases\n\nI hope it's OK to just go ahead and edit like I did.\n\nI love the power of git aliases. This one shows how easy it is to \nimplement a \"hg serve\" alike \"git serve\".\n\nIn order to be able to use \"git serve\" from a subdir of the repo without \nmuch scripting (git-rev-parse --git-dir) my alias uses the fact that \nnon-git aliases (beginning with \"!\") are executed with the top-level dir \nas cwd. Is this documented/guaranteed?\n\nMichael\n\nP.S.: I always wondered why there's no default \"view = !gitk\"...\n"}]}