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

[Q] Tell Git to follow symlinks?

From
Alexander Gladysh <agladysh@gmail.com>
Date
Feb 24, 2008, 11:05 UTC
Message-ID
<c6c947f60802240305w40a7af96yc47f90e573384c04@mail.gmail.com>
Hi, list!
Sorry for a rather dumb question.
I'm trying to build a rudimentary GIT-based backup system for my remote host.

I want to put all relevant data (which is scattered throught the system) under single large Git backup-only (i.e. no development) repository.

And then on the remote system set cron to do something like
    git add . && git commit -m "`date`" && git gc
And on local system set cron to do git pull.

I thought to construct my repo of the number of symlinks to other places, but apparently Git does not follow any simlinks.

I have considered using zillion of git submodules, but looks like this solution would demand more work than I'd like to put in there.

Please give me some directions on the building such dumb backup system I want :)

Thanks in advance, Alexander.

Next: Remi Vanicat
Message 1 of 6 in “[Q] Tell Git to follow symlinks?”
  1. Alexander GladyshFeb 24, 2008
  2. Remi VanicatFeb 24, 2008
  3. Alexander GladyshFeb 24, 2008
  4. David TweedFeb 25, 2008
  5. Jakub NarebskiFeb 25, 2008
  6. Matthieu MoyFeb 25, 2008

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.