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

Re: git for pushing local subdir to website

From
Wesley J. Landaker <wjl@icecavern.net>
Date
Aug 3, 2009, 18:01 UTC
Message-ID
<200908031201.41039.wjl@icecavern.net>
In-Reply-To
<13f0168a0908031011odd98c03ye08a1b0774fca523@mail.gmail.com>
On Monday 03 August 2009 11:11:13 Matt Di Pasquale wrote:
> now... how do i just push example.com and not extra and example.com?
[...]
> that doesn't really make sense conceptually because example is one big
> project. extra is like extra files and example.com is like what i
> really want to go on web server...

There are several ways to do this with git, but since you are not going to make commits on the server itself, have you considered simply pushing the production files you want with e.g. rsync?

Previous: Matt Di PasqualeNext: Matt Di Pasquale
Message 2 of 6 in “git for pushing local subdir to website”
  1. Matt Di PasqualeAug 3, 2009
  2. Wesley J. LandakerAug 3, 2009
  3. Matt Di PasqualeAug 3, 2009
  4. Wesley J. LandakerAug 3, 2009
  5. Matt Di PasqualeAug 3, 2009
  6. Wesley J. LandakerAug 3, 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.