git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git for collaborative web development

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Mar 27, 2009, 00:57 UTC
Message-ID
<gqh89k$tob$1@ger.gmane.org>
In-Reply-To
<loom.20090326T184207-345@post.gmane.org>
On Thursday 26 March 2009 19:51, Carlo wrote:
Show 14 quoted lines
> Hi,
> I'm going to work on a web project with a friend. We will host our code on a
> server and my idea was to set up a git repository (maybe using gitosis) so that
> we could work on our machines and push the changes to the server.
> 
> He said that it would be complicated, because if he's going to try some changes
> to show me on the fly he just can't. I mean, he would like to work on the code
> directly on the server, so that he can change the code, save and I can just
> refresh the page from my browser and see what he did.
> 
> Using git he should save, commit, add, push... so it's a bit longer.
> 
> Is there a nice compromise? Or a better way to use git for such a task or web
> development in general?
You could try using gitweb to expose the local repository directly.

If the web pages don't rely on hard-coded paths (i.e. all links are relative) you should actually be able to navigate the tentative website in plain blob view mode, for any given commit or branch.

-- 
Giuseppe "Oblomov" Bilotta
Previous: Sverre Rabbelier
Message 5 of 5 in “Git for collaborative web development”
  1. CarloMar 26, 2009
  2. Sverre RabbelierMar 26, 2009
  3. Mr.SpOOnMar 26, 2009
  4. Sverre RabbelierMar 26, 2009
  5. Giuseppe BilottaMar 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.